Subject: Re: libvorbis using wrong library
To: Jeremy C. Reed <reed@reedmedia.net>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 10/04/2001 14:41:37
On Thu, 4 Oct 2001, Jeremy C. Reed wrote:
> On Thu, 4 Oct 2001, Johnny Lam wrote:
>
> > I believe you're mistaken about how ld.so.conf works on a NetBSD/ELF system.
> > You may want to read ld.so.conf(5) and also the "NetBSD ELF FAQ" at:
> >
> > 	http://www.netbsd.org/Documentation/elf.html
> >
> > In particular, you should probably just remove that file since it's not
> > useful in your environment, and causes the problems you note below.

> I have a variety of a.out and ELF files.
>
> My /etc/ld.so.conf also listed /usr/X11R6/lib. With it removed I received:

What you can do, is move the old file to /emul/aout/etc/ld.so.conf,
where only "ldconfig" can see it (for a.out), and leave the new-style
file in /etc/ld.so.conf, for use by "ld.elf_so" (ELF). On i386, it
just has this line:

libm.so.0       machdep.fpu_present     1:libm387.so.0,libm.so.0

to pull in "libm387.so.0" conditionally on an fpu being detected at
boot time.

Frederick