Subject: Re: static vs. dynamic runtime linking, and silly 'ld -L' breakage
To: Quentin Garnier <cube@cubidou.net>
From: Ian Lance Taylor <ian@airs.com>
List: tech-userlevel
Date: 01/30/2005 22:58:21
Quentin Garnier <cube@cubidou.net> writes:
> Sometimes I wish ELF would allow relative RPATHs and then you'd have
> an entry in /etc/ld.so.conf to point the dynamic linker to the install
> root of the binaries.
For what it's worth, the glibc dynamic linker supports starting
entries in RPATH with $ORIGIN, which translates to the directory in
which the executable is located.
Ian