[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-devtools
Subject: HPUX-DEVTOOLS: HP-UX 11.00 64 bit doesn't load shared library's dependent shared
From: Kumarasamy Paramasivam <param () commvault ! com>
Date: 2001-07-27 23:41:17
[Download RAW message or body]
Hi,
I have aCC shared libraries linked with Oracle8.1.6 using cc compiler. I
am setting the dynamic search path of oracle to
/opt/galaxy/Base64:/database/oracle/oracle816_64/lib64 to load the depend
shared libraries from that location at runtime.
1. Following is the ldd on oracle.
Oracle@voyager > ldd oracle
libwtc8.sl => /database/oracle/oracle816_64/lib64/libwtc8.sl
libjox8.sl => /database/oracle/oracle816_64/lib64/libjox8.sl
libobk.sl => /opt/galaxy/Base64/libobk.sl
libOraInfo.sl => /opt/galaxy/Base64/libOraInfo.sl
libOraLib.sl => /opt/galaxy/Base64/libOraLib.sl
libCvLib.sl => /opt/galaxy/Base64/libCvLib.sl
libCvSession.sl => /opt/galaxy/Base64/libCvSession.sl
libCvSim.sl => /opt/galaxy/Base64/libCvSim.sl
libCvJobClient.sl => /opt/galaxy/Base64/libCvJobClient.sl
libCVAppMan.sl => /opt/galaxy/Base64/libCVAppMan.sl
libCvAppClient.sl => /opt/galaxy/Base64/libCvAppClient.sl
libcvarchive.sl => /opt/galaxy/Base64/libcvarchive.sl
libCvMachDep.sl => /opt/galaxy/Base64/libCvMachDep.sl
libEvMsgLoc_C.sl => /opt/galaxy/Base64/libEvMsgLoc_C.sl
libMessages.sl => /opt/galaxy/Base64/libMessages.sl
libCvSocket.sl => /opt/galaxy/Base64/libCvSocket.sl
libCVEncrypt.sl => /opt/galaxy/Base64/libCVEncrypt.sl
libcvlzo.sl => /opt/galaxy/Base64/libcvlzo.sl
libcxpipeline.sl => /opt/galaxy/Base64/libcxpipeline.sl
libcompress.sl => /opt/galaxy/Base64/libcompress.sl
libcvzip.sl => /opt/galaxy/Base64/libcvzip.sl
libCvCxx.sl => /opt/galaxy/Base64/libCvCxx.sl
libpthread.1 => /usr/lib/pa20_64/libpthread.1
libCsup.2 => /usr/lib/pa20_64/libCsup.2
libstd.2 => /usr/lib/pa20_64/libstd.2
libstream.2 => /usr/lib/pa20_64/libstream.2
librt.2 => /usr/lib/pa20_64/librt.2
libnss_dns.1 => /usr/lib/pa20_64/libnss_dns.1
libdl.1 => /usr/lib/pa20_64/libdl.1
libm.2 => /usr/lib/pa20_64/libm.2
libc.2 => /usr/lib/pa20_64/libc.2
libc.2 => /lib/pa20_64/libc.2
Unable to find library 'libOraLib.sl'.
2. But in libobk.sl in the above list has following dependency.
Oracle@voyager > chatr /opt/galaxy/Base64/libobk.sl
/opt/galaxy/Base64/libobk.sl:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/lib
shared library list:
libOraLib.sl
libcvarchive.sl
libCvJobClient.sl
libCvAppClient.sl
libCVAppMan.sl
libOraInfo.sl
libCvCxx.sl
libnsl.1
librt.2
libpthread.1
shared vtable support disabled
segments:
index type address flags size
4 text 4000000000000000 z---c D (default)
5 data 8000000100000000 ---m- D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
when i run oracle, system loads libobk.sl and trying to load its dependcy
libOraLib.sl. It says "Unable to find library 'libOraLib.sl. Because
libobk.sl's embeded path doesn't have path set. But when u look at the
oracle's embeded path has path for ALL SHARED Libraries.
How do i get around with this problem?. When i load oracle, it should load
libraries and its depeneds from the dynamic search. Any help would be highly
appreciated.
Thanks
Kumar
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE hpux-devtools
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic