ldd shows the dependencies of library- oracle8i


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ldd shows the dependencies of library- oracle8i
# 1  
Old 01-05-2009
ldd shows the dependencies of library- oracle8i

Hi,

ldd -d fgs_bin/la_daemon_flex_pipe
libclntsh.so.8.0 => /oracle/app/oracle/product/8.1.7/lib/libclntsh.so.8.0
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libsched.so.1 => /usr/lib/libsched.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libm.so.1 => /usr/lib/libm.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libw.so.1 => /usr/lib/libw.so.1
libc.so.1 => /usr/lib/libc.so.1
libwtc8.so => /oracle/app/oracle/product/8.1.7/lib/libwtc8.so
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

when i add Oracle 10G library path(LD_LIBRARY_PATH) instead Oracle 8i, it fails and gives below error,

ldd fgs_bin/la_daemon_flex_pipe
libclntsh.so.8.0 => (file not found) libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libsched.so.1 => /usr/lib/libsched.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libm.so.1 => /usr/lib/libm.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libw.so.1 => /usr/lib/libw.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1


How to resovle this in different methods so that the executable should be independent of Oracle library versions?
# 2  
Old 01-05-2009
One way - create a symbolic link for libclntsh.so.8.0 from the 10G shared libraries location back to /oracle/app/oracle/product/8.1.7/lib/libclntsh.so.8.0 or wherever you wish to store this shared library.
# 3  
Old 01-06-2009
I should not disturb the oracle 10G installation(other than having the oracle instance data).. How to create a dependency on Oracle version library (10G)instead Oracle library(8i).. Same library exits but with different versions on both version of oracle.
# 4  
Old 01-06-2009
Include the following path in LD_LIBRARY_PATH variable after teh oracle 10g library path and try :
/oracle/app/oracle/product/8.1.7/lib
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Dependencies errors

Hi guys when I'm trying to install some RPMs file I got this errors # rpm -ivh DSM-IBMAIXServer-7.2-796075.noarch.rpm error: failed dependencies: perl(Digest::MD5) is needed by DSM-IBMAIXServer-7.2-796075 perl(Exporter) is needed by DSM-IBMAIXServer-7.2-796075 ... (1 Reply)
Discussion started by: khaled_ly84
1 Replies

2. Solaris

Solaris: ldd doesn't find libraries in exported environment variable LD_LIBRARY_PATH

I have given the relevant details below. Why are the libraries in /export/home/builds/pc9x_root/960/build/powrmart/pmbuild/bin/SunOS.64.r are invisible to ldd? %setenv ... (3 Replies)
Discussion started by: old_as_a_fossil
3 Replies

3. Linux

Failed dependencies

Hi all, i'm trying to upgrade pandorafms to the new version 4.0.3-130118, actually i have installed on my machine the version 3.0.0-8.1.el5, the error i'm getting when trying to update its the following rpm -Uvh pandorafms_agent_unix-4.0.3-130118.noarch.rpm error: Failed dependencies: ... (1 Reply)
Discussion started by: charli1
1 Replies

4. UNIX for Dummies Questions & Answers

Server dependencies

Hi, How can I discover server dependencies? For example, how do I find out what services depend on email? Is it with nmap? Thanks! :wall: (4 Replies)
Discussion started by: greatmaple
4 Replies

5. Programming

dlopen failing on library with statically linked dependencies

I am attempting to port a program from OS X to Linux. It's C++ & Qt Creator and I did the original Windows to OS X port, so I tried to make it as POSIX-compliant as possible; the OS X port works well, and the Linux port builds and starts (it's on Ubuntu 9.10) but has some issues running. The... (2 Replies)
Discussion started by: Hodapp87
2 Replies

6. Solaris

Issues with ldd

I tried to compile php and integrate it into apache on solaris. It compiled ok and I created a package. If I install it on a system that has the libpng from sunfreeware, it wants to use that library instead of the system SUNWpng. It doesn't run using SMCpng, but it runs using the system SUNWpng.... (4 Replies)
Discussion started by: Mike_the_Man
4 Replies

7. Solaris

ldd output

Hello, $ldd /usr/lib/libdl.so.1 give nothing in output/ Is this library ok ? *ldd <other_lib.so> libz.so.1 => /<custom_path>/libz.so.1 libz.so.1 (SUNW_1.1) => not found with this error message, are the shared libraries (/<custom_path>/libz.so.1) always be badly compiled ? tx you (1 Reply)
Discussion started by: wolfhurt
1 Replies

8. UNIX for Dummies Questions & Answers

ldd output

can anybody tell me wat does the ldd output mean.cant understand it!! (3 Replies)
Discussion started by: laddu
3 Replies

9. Programming

ldd doesn't work with 64bit .so library on AIX

I generated my shared library in 64bit on AIX, but when I ran ldd, it says: Could not load program libmylib.so: Could not load module libmylib.so. The module has an invalid magic number. Anyone knows how to list library dependencies with 64bit shared library on AIX? If you... (1 Reply)
Discussion started by: modemer
1 Replies

10. UNIX for Dummies Questions & Answers

installation of oracle8i on unix

hi sir i want know important steps and issues involved in installing Oracle 8i on most of the unix system (1 Reply)
Discussion started by: vandana
1 Replies
Login or Register to Ask a Question