cvs commit: src/etc/defaults rc.conf
joerg at britannica.bec.de
Sat Apr 14 08:34:14 PDT 2007
On Fri, Apr 13, 2007 at 10:01:48AM -0700, Matthew Dillon wrote:
> The real problem here is that until the linker is changed to use rpaths
> by default, we are stuck with the pathing mechanism... we can't require
> that normal users use -rpath options in their compiles.
Requiring -rpath is and was the default on a number of Unix platforms.
The canonical exceptions are Linux and FreeBSD. That the former is
clueless I don't have to say. The latter inherited it from a.out and
never switched. I don't think it is a good base to reason upon given all
the other clutches kept e.g. not using normal ELF naming for libraries
LD_LIBRARY_PATH doesn't help at all -- ld and ldd use the cache and you
can't disable it. I don't even buy the argument of "I run applications I
can't link with rpath" -- as those are the typical examples for using
LD_LIBRARY_PATH wrappers. firefox-bin falls into that category as well.
More information about the Commits