This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc and $ORIGIN


On Tuesday 05 May 2009 17:44:16 Fabiano Sidler wrote:
> I'd like to build a system unfixed to absolute paths, so with
>
>   LDFLAGS += '-z origin'
>   LD_RUN_PATH = '$ORIGIN/../lib'
>
> Unfortunately, the glibc seems not to support it. Am I wrong or
> is there a work-around for this?

$ORIGIN on the glibc libs themselves will not work.  $ORIGIN on any other ELF 
should work just fine.  the ldso must always be in /lib/.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]