[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to get libtool not to add -rpath, since libs are only in a st
Re: Trying to get libtool not to add -rpath, since libs are only in a staging directory
Thu, 21 Aug 2014 00:52:05 +0300
Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1
Filipe Brandenburger wrote:
I'm trying to link binaries to libraries that are not installed on the
system, but just unpacked to a "staging" directory.
Is this a libtool bug?
Any suggestions of workarounds?
(I also filed a bug at
http://savannah.gnu.org/support/index.php?108637 in case this is
actually a libtool bug.)
Libtool exclude directories from RPATH if path is listed in
sys_lib_dlsearch_path_spec - list of space separated directories.
Variable sys_lib_dlsearch_path_spec is generated from a libtool macro.
On linux with FSF libtool version value start with /lib /usr/lib and
existing directories from /etc/ld.so.conf .
After configuration user could check current value with command:
$ ./libtool --config | grep sys_lib_dlsearch_path_spec
( I assume that package build process generate libtool script in build
You could use lt_cv_sys_lib_dlsearch_path_spec to override it at
lt_cv_sys_lib_dlsearch_path_spec="<ORIGINAL VALUE> <STAGING_PATH>"