[Top][All Lists]

[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

From: Roumen Petrov
Subject: Re: Trying to get libtool not to add -rpath, since libs are only in a staging directory
Date: Thu, 21 Aug 2014 00:52:05 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1

Hi Filipe,

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  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/ .

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 directory )

You could use lt_cv_sys_lib_dlsearch_path_spec to override it at configure time.
.../configure  \
lt_cv_sys_lib_dlsearch_path_spec="<ORIGINAL VALUE> <STAGING_PATH>"

Roumen Petrov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]