libtool
[Top][All Lists]
Advanced

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

Re: LD_RUN_PATH not adding paths when building with shared libs


From: Paul Jarc
Subject: Re: LD_RUN_PATH not adding paths when building with shared libs
Date: Thu, 28 Aug 2003 17:34:10 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Bill Moseley <address@hidden> wrote:
> So, it seems like the LD_RUN_PATH path is not used when building our
> project unless we use --disable-shared:

I'm not especially familiar with libtool, but IME, LD_RUN_PATH is
ignored if any run-time search directories are given on the command
line.  So if the command that links your binary has any -Wl,-R,
options (or whatever they look like on your platform), that may be the
problem.

> (By the way, I'm sure I used to know a better way to show the search
> path for a binary than using strings!)

At least with GNU binutils: objdump -p | grep RPATH


paul




reply via email to

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