在编译生成rpm包时,报错

ERROR   0001: file '***'   contains a standard rpath '/usr/lib64'
这是由于代码理由hardcode导致,解决问题有两种办法:
一种是打包的时候忽略这个错误
QA_RPATHS=0x0001 rpmbuild -ba php-5.6.30.spec
还一种是
There are two ways to get around this. The first is to comment out the /usr/lib/rpm/check-rpaths line from the $HOME/.rpmmacrosand then rerun the rpmbuild command.
The second option is to tell rpmbuild to ignore standard RPATHs by running rpmbuild as follows:
参考文档:
http://giovannitorres.me/how-to-build-rpms-collectd-example.html

最新文章

  1. C# 深拷贝的具体代码的封装与调用
  2. SQL Server 2012安装后找不到服务器名称的解决办法!!!
  3. 此请求的查询字符串的长度超过配置的 maxQueryStringLength 值 --不仅wen.fonfig一个地方需要设置
  4. Daily Scrum 10.28
  5. The default for KeyValuePair
  6. SQL优化法则小记
  7. C# GUID的使用
  8. UVA 10499 (13.08.06)
  9. [AngularJS] Test an Angular Component with $componentController
  10. 由底层和逻辑说开去——c++之类与对象的深入剖析
  11. 【斐波那契DP】HDU 4639——HeHe
  12. Express安装与调试
  13. SPRING IN ACTION 第4版笔记-第四章ASPECT-ORIENTED SPRING-012-AOP总结
  14. 微博OpenAPI练习之问题记录
  15. Entity Framework入门教程(2)---EF工作流程
  16. java基础之集合框架--使用ArrayList类动态 存储数据
  17. windows server 2016安装
  18. Linux vmstat命令
  19. emitted value instead of an instance of error the scope attribute for scoped slots webpack babel polyfill
  20. I2C总线协议图解

热门文章

  1. centos6源码编译安装lnmp环境
  2. POJ 3225.Help with Intervals-线段树(成段替换、区间异或、简单hash)
  3. #424 Div2 E
  4. mac下eclipse导入windows项目文件乱码
  5. 事件溯源模式(Event Sourcing Pattern)
  6. oracle 博客精选
  7. Javascript中的原型链、prototype、__proto__的关系
  8. SpannableString 转换局部字体大小,但在EditText测量之前设置内容,测量高度为,字体变小之前的高度
  9. HUD2795 线段树(单点更新)
  10. Java:网络编程之登陆服务器