Peter Keller wrote:
Ezra Peisach wrote:
One of the other misfeatures of rpath is that it sets DT_RPATH and not
DT_RUNPATH - which means that LD_LIBRARY_PATH will not override the
That depends on the version of ld - a modern version should set both. Use
'readelf -d' on your executables to check.
Hmm - GNU ld 2.19 on linux does not advertise the DT_RUNPATH option in
the documentation or --help - you need to grovel the sources to find the
magic invocation... I guess being 4 months old is not modern enough :-)
Regards,
Peter.
Personally - I see no problem w/ rpath usage unless you get bitten by it
because you have the same directory layout as the person that compiled
the program...
For package maintainers - ld.conf.d is the better option - but then you
don't want need the rpath...
I will try to figure out how to fix the broken packages, and report it
upstream, to have the --disable-rpath work. Then Paul can decide what
to do w/ the autobuild script... The rpath issue is not his fault - but
rather the package auhors of the other packages.
Ezra