gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] RPATH tangle


From: Miroslav Lichvar
Subject: Re: [gpsd-dev] RPATH tangle
Date: Mon, 2 Dec 2013 16:46:57 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Dec 02, 2013 at 10:13:43AM -0500, Eric S. Raymond wrote:
> What we really want to do here is ask the system what the default load path
> is and not set RPATH if libdir is already on it.  I've been looking for
> a way to get this informastion, but there doesn't seem to be an option of
> ld, ld.so, or ldconfig that produces it.

A (possibly very non-portable) way could be parsing output of this
command:
LD_DEBUG=libs LD_PRELOAD=invalid.so /lib64/ld-linux-x86-64.so.2 /bin/echo

But I'm wondering how does automake/libtool do it. Does it ever set
RPATH in installed files?

-- 
Miroslav Lichvar



reply via email to

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