cvs commit: src/etc/defaults rc.conf
dillon at apollo.backplane.com
Fri Apr 13 10:02:49 PDT 2007
:Unfortunately this influences the linking stage as well, as I was told by=
: joerg. This means that pkgsrc is no more able to prevent configure from=
: linking to third party libs. It won't even be able to check if lib path=
:s are correct, because ldd(1) also uses the ldconfig cache.
:I strongly suggest making this not a default, but to put it in a prominen=
:t place so that users can quickly enable it in their local rc.conf.
Can we override it in pkgsrc? Maybe by setting an empty LD_LIBRARY_PATH
or something like that? pkgsrc is the one that is creating the
restricted environment, I see no reason why it can't handle it.
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.
<dillon at backplane.com>
More information about the Commits