On 08/11/2014 04:51 PM, Orion Poplawski wrote:
On 08/11/2014 04:06 PM, Orion Poplawski wrote:
> It seems to me like we have a lot of /usr/lib64 rpaths being added to binaries
> now that were not previously. Anyone know why?
It at least some cases this seems to be due to the use of a newer libtool, but
not the patched version in Fedora that adds /usr/lib64 to sys_lib_dlsearch_path.
If the application uses a local copy of libtool, add the following lines
to the spec after %configure:
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
but this breaks %check/make test as the tests cannot find the local library.
Seems to down to autoreconf or chrpath, sigh.
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 http://www.nwra.com