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.



I'm trying:

If the application uses a local copy of libtool, add the following lines to the spec after %configure:

%configure
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


from http://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath

but this breaks %check/make test as the tests cannot find the local library. Seems to down to autoreconf or chrpath, sigh.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                   http://www.nwra.com
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to