Subject: re: patch to allow /etc/ld.so.conf configure directories for ELF
To: None <tech-userlevel@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-userlevel
Date: 03/12/1999 12:34:24
   
cgd wrote:
   Please move your /usr/pkg directory to a different directory, add the
   right paths in ld.so.conf, and give me write access to /usr/pkg.  i'll
   show you why it's a bad idea to mix the two.  8-)


show me a stupid admin and you can break into their system.
the above does not give me any reason to agree with your
view point.


ross' point about stdio is about the only sane thing i've seen
meantioned here (and the only real reason i used stdio was 
because i ripped this code directly out of the a.out ldconfig
program) against the patch i sent.  i fail to see how having a
shlib directory configuration will break a transition to ELF.
actually, i can, but you can fix that by using
/etc/ld.elf_so.conf, which is probably what you want to do
anyway (?).


i like and use rpaths where ever possible.  i try not to have
an ld.so.conf where ever possible.  there are, however, cases
where this isn't currently possible.  ld.so.conf should *not*
be a default for ELF.  we should avoid having it exist for
anyone except those that need it.


i consider our ELF shlib implementation broken without a way
to globally define places to look for shlibs, *if i want*.