Help with rpath issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody!

I have run into rpath issue when creating rpm for hwloc (you might want to 
check package review ticket at 
https://bugzilla.redhat.com/show_bug.cgi?id=606498)

rpath is added by libtool. Libraries are getting installed into /usr/lib64 but 
libtool does not recognize this as default library location on 64-bit system.

One solution was to add "/usr/lib64" directory into /etc/ld.so.conf. 

Practical solution to get rpm was to add
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
into the %configure stage in rpm specs. 

I would like to get rid of these sed lines. 

For me it seems either that libtool is buggy or "/usr/lib64" directory is 
missing in /etc/ld.so.conf. 

I (together with upstream) would highly appreciate any feedback on it.

Thanks
Jirka
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux