Subject: Re: ldconfig
To: Jean-Edouard BABIN <listes@Jeb.com.fr>
From: Frederick Bruckman <fb@enteract.com>
List: port-i386
Date: 06/14/2001 08:05:53
On Thu, 14 Jun 2001, Jean-Edouard BABIN wrote:

> le 14/06/01 1:05, Frederick Bruckman (fb@enteract.com) ecrivait:
>
> > On Wed, 13 Jun 2001, Jean-Edouard BABIN wrote:
> >> and ldconfig -r
> >> /var/run/ld.so.hints:
> >> search directories: /usr/lib:/usr/local/lib:/usr/X11R6/lib
> >
> > Are there shared libraries in /emul/aout/usr/lib,
> > /emul/aout/usr/local/lib, etc.?
> no, before i haven't any /emul directory i have juste create it for the flie

If you're running ELF binaries on an ELF system, you don't need
"ldconfig" for anything -- it's only used for a.out and a.out
emulation. In any case, it's only using for _running_ programs, never
for _compiling_ them.

> >> i don't see the lib..
> >> and i tryed to compil window maker and ucd-snmp but they look their lib in
> >> relative directory (i think it's because ld bug)
> >
> > Are you trying to compile against a.out shared libs on an ELF
> > platform? That doesn't work. If not, what exactly are you trying to do?
> i don't know if that compil for a.out i think not...
> but if i lanch app from they directory they found theire .so...

I don't understand! Let's start with ucd-snmp. You are trying to
compile the source distribution "out of the box"? What is the error
message that you get when you try to build or run it? Which version
NetBSD do you have?


Frederick