FS#14003 - [pyqt] insecure RPATH
Attached to Project:
Arch Linux
Opened by Allan McRae (Allan) - Sunday, 29 March 2009, 04:19 GMT
Last edited by Douglas Soares de Andrade (dsa) - Saturday, 11 April 2009, 21:33 GMT
Opened by Allan McRae (Allan) - Sunday, 29 March 2009, 04:19 GMT
Last edited by Douglas Soares de Andrade (dsa) - Saturday, 11 April 2009, 21:33 GMT
|
Details
Description:
The file /usr/lib/python2.6/site-packages/PyQt4/QtDesigner.so has a reference to its build directory in its RPATH readelf -d /usr/lib/python2.6/site-packages/PyQt4/QtDesigner.so | grep RPATH |
This task depends upon
Closed by Douglas Soares de Andrade (dsa)
Saturday, 11 April 2009, 21:33 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks a lot for the infos Gerardo, gonna fix the path issues in the pyqt 4.5 release.
Saturday, 11 April 2009, 21:33 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks a lot for the infos Gerardo, gonna fix the path issues in the pyqt 4.5 release.
How can i fix this kind of issue ?
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
(patch attached)
This, not only removes the insecure rpath, also removes all rpaths to /usr/lib that causes some aditionals libraries lockups that fails. Then without it, use the ld.so.cache.
More info at:
FS#13890- Packaging creation and rpath issuesFS#13891- [acl] A trivial fix RPATH issueFS#13965- [kde] Compile KDE with CMAKE_SKIP_RPATHPD: sinse new QT 4.5.0-4 is compiled with exceptions a new lib 'QtXmlPatterns.so' will be generated in python lib path.