[omniORB] Can't open shared library
Gary D. Duzan
gdd0@gte.com
Tue, 20 Feb 2001 10:55:33 -0500
In Message <BD1240D8DD4CD311B41300500416DBA0AF4E16@uranus.comline> ,
"Hymmen, Holger" <holger.hymmen@comline.de> wrote:
=>Hello,
=>
=>I downloaded the HP UX 11.00 version of the omniORB 3.02 and copied the
=>content of the archive to a destination directory. When I now try to start
=>the NameServer I get the following error:
=>
=>/opt/omni/bin/hppa_hpux_11.00 #omniNames -start
=>/usr/lib/dld.sl: Can't open shared library:
=>../../../lib/hppa_hpux_11.00/libomnithread.sl.2
=>/usr/lib/dld.sl: No such file or directory
=>Abort
=>
=>If I look at where it is trying to locate the library, if that is relative
=>to the directory which includes omniNames, I truly cannot locate it, because
=>it would only be ../../lib/hppa_hpux_11.00/libomnithread.sl.2 .
=>
=>Is there a way to solve this, without having to compile the source code or
=>perhaps copying omniNames into a directory which would be three removed from
=>the omni root ?
Add the full path to your hppa_hpux_11.00 directory to the
SHLIB_PATH environment variable. That should do it.
Gary Duzan
Verizon Laboratories