[omniORB] Newbie has linux problem

Gilles J. Seguin segg@infonet.ca
Mon, 30 Apr 2001 15:55:26 -0400


Duncan Grisby wrote:
> 
> On Monday 30 April, lou_liz@iafrica.com wrote:
> 
> > When I try to run the client, I get the following error:
> > "Error while loading shared libraries: libomniORB3.so.0: cannot open shared
> > object file: no such file or directory"
> >
> > The library file IS there.  Actually, libomniORB3.so.0 is a symlink to
> > libomniORB3.so.0.3.
> > The lib directory is in my PATH.
                                ^
                                `----- /etc/ld.so.conf
What you say may be different of what you have.
We want to see the result of
$ /sbin/ldconfig --print-cache | grep libomni

If the path to libomniORB3.so.0 is in /etc/ld.so.conf
you have forgot to do ldconfig to rebuild /etc/ld.so.cache

> Unix is different from Windows in this respect -- it uses a separate
> path variable to find shared libraries. You should put the lib
> directory in LD_LIBRARY_PATH.