[omniORB] HP-11.00 fix for 'unable to find shared library' problems
Sai-Lai Lo
s.lo@uk.research.att.com
Mon, 16 Jul 2001 10:40:25 -0000
Thanks for pointing this out.
"-Wl,+s" was specified as a linker flag for executables (in CXXLINKOPTIONS).
I think this makes SHLIB_PATH works for all executables. May be you are
using dlopen() directly to load the libraries?
Anyway, I've now checked in the necessary changes to the CVS and updated the
bug page.
Regards,
Sai-Lai
----- Original Message -----
From: <David_Tiller@circuitcity.com>
To: <omniORB-list@uk.research.att.com>
Sent: Friday, July 13, 2001 6:55 PM
Subject: [omniORB] HP-11.00 fix for 'unable to find shared library' problems
>
> I've just compiled omniORB 3.0.4 under HPUX 11.00 (32 bit), and found that
> the shared
> libraries are being built without the ability to use SHLIB_PATH.
(Mentioned
> in article
> 2001-02/00175). The examples that use libomniORB3.sl fail to load, while
> the ones that
> only use libomnithread.sl work fine. This is because libomniORB3.sl has an
> explicit
> reference to something like
> "../../../lib/hppa_hpux_11.00/libomnithread.sl.2" in it. Since
> SHLIB_PATH support is off in libomniORB3 and it's highly unlikely that
> every piece of
> code will be developed 3 levels from lib/hppa_hpux_11.00, turning on
> SHLIB_PATH
> support would be nice.
>
> Adding "-Wl,+s" to the HPUX sections of the makefiles under $(TOP)/src/lib
> fixes the
> problem.
>
>
>