I already solved the problem.   The key was environment variable 
LD_LIBRARY_PATH.   I set this variable to another directory.   Using strace, I 
found this, and erase this environment variable and all worked out.

-tetsuji

> On Mon, 21 Dec 1998, Tetsuji Rai wrote:
> 
> >   Hi,
> >   I just moved from FreeBSD world to Linux world.  It's more compfortable 
> > than I expected.  But now I have a trouble in shared library.   I put a 
> > shared library in /usr/local/lib.   And compile an application using that
> > shared library.   Add /usr/local/lib line into /etc/ld.so.conf, and run
> > ldconfig as root.    However, when trying to run that application, it says
> > "can't load library 'libwnn.so.1.0'", which actually is in /usr/local/lib.
> 
> do an ls -l /usr/local/lib/libwnn*. make sure all the symlinks are valid.
> 
> > What's wrong with me ?   ldconfig of Linux is quite different from FreeBSD.
> >   Any help would be appreciated.
> > 
> > -Tetsuji Rai
> > 
> 

Reply via email to