制作rpm包报错问题
2024-08-24 20:31:24
在编译生成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
最新文章
- C# 深拷贝的具体代码的封装与调用
- SQL Server 2012安装后找不到服务器名称的解决办法!!!
- 此请求的查询字符串的长度超过配置的 maxQueryStringLength 值 --不仅wen.fonfig一个地方需要设置
- Daily Scrum 10.28
- The default for KeyValuePair
- SQL优化法则小记
- C# GUID的使用
- UVA 10499 (13.08.06)
- [AngularJS] Test an Angular Component with $componentController
- 由底层和逻辑说开去——c++之类与对象的深入剖析
- 【斐波那契DP】HDU 4639——HeHe
- Express安装与调试
- SPRING IN ACTION 第4版笔记-第四章ASPECT-ORIENTED SPRING-012-AOP总结
- 微博OpenAPI练习之问题记录
- Entity Framework入门教程(2)---EF工作流程
- java基础之集合框架--使用ArrayList类动态 存储数据
- windows server 2016安装
- Linux vmstat命令
- emitted value instead of an instance of error the scope attribute for scoped slots webpack babel polyfill
- I2C总线协议图解
热门文章
- centos6源码编译安装lnmp环境
- POJ 3225.Help with Intervals-线段树(成段替换、区间异或、简单hash)
- #424 Div2 E
- mac下eclipse导入windows项目文件乱码
- 事件溯源模式(Event Sourcing Pattern)
- oracle 博客精选
- Javascript中的原型链、prototype、__proto__的关系
- SpannableString 转换局部字体大小,但在EditText测量之前设置内容,测量高度为,字体变小之前的高度
- HUD2795 线段树(单点更新)
- Java:网络编程之登陆服务器