RPM打包时的rpath检查脚本只支持位于“/usr”中的路径,而MagicLinux2.5.11中的KDE4还是安装在/opt目录下,这样在打包Filelight时,rpath检查脚本会报告错误并且退出。所以需要禁用rpath检查。
http://www.redhat.com/archives/rhl-devel-list/2007-July/msg00398.html
亮点:
Dennis Jacobfeuerborn <d.jacobfeuerborn <at> conversis.de> writes:
> ERROR 0002: file '/opt/kde4/bin/ksvgtopng' contains an invalid rpath
> '/usr/local/lib' in [/opt/kde4/lib:/usr/local/lib]
You need to disable the RPATH checks for now. There's 2 problems there:
* rpaths in cmake/KDE are all or nothing, if they put in /opt/kde4 ones, they
also put in standard ones,
* the rpath checks don't accept rpaths to paths outside of /usr, which IMHO is
just broken.
This should not be a problem anymore when we can install KDE 4 to /usr (in
Fedora 8).
HxLauncher: Launch Android applications by voice commands