This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: librt and libpthread in alternate prefix
Mike Frysinger wrote:
> On Monday 11 May 2009 23:34:16 Poor Yorick wrote:
>> Because my goal is to build a software collection in an alternate library
>> path which uses its own glibc, I'm trying to get the new loader to work
>> from the alternate location without setting --library-path.
>
> so use a wrapper script that builds paths using $0
> -mike
That's a kludge that doesn't work well, since wrapper scripts aren't suitable
for the #! line. Wouldn't embedded RPATH/RUNPATH entries be an alternative?
--
Yorick