librt and libpthread in alternate prefix

Mike Frysinger vapier@gentoo.org
Tue May 12 22:07:00 GMT 2009


On Tuesday 12 May 2009 10:15:16 Poor Yorick wrote:
> 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
>
> That's a kludge that doesn't work well, since wrapper scripts aren't
> suitable for the #! line.

i dont really know what you're talking about here.  #!/bin/sh works just fine.

> Wouldn't embedded RPATH/RUNPATH entries be an
> alternative?

no, as has been explained multiple times in this list.  you cannot mix and 
match ldso's and C libs.
-mike



More information about the Libc-help mailing list