Sponsored Content
Top Forums UNIX for Advanced & Expert Users ldd shows the dependencies of library- oracle8i Post 302273512 by shafi2all on Monday 5th of January 2009 02:21:05 AM
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?
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
ncad_addr(4)							   File Formats 						      ncad_addr(4)

NAME
ncad_addr - name of the Solaris Network Cache and Accelerator (NCA) socket utility library SYNOPSIS
/usr/lib/ncad_addr.so DESCRIPTION
ncad_addr.so is the Solaris Network Cache and Accelerator (NCA) socket utility library. Use this library with a web server to avoid support for the PF_NCA family type socket. The web server can take advantage of NCA functionality. Interpose the ncad_addr interfaces before the interfaces in libsocket by setting the environment variable LD_PRELOAD to ncad_addr.so so that it is preloaded before libsocket.so.1. The ncad_addr.so interfaces will be interposed only if NCA is enabled. See ncakmod(1). EXAMPLES
Example 1: Interposing ncad_addr Using Bourne shell syntax as an example, set LD_PRELOAD as shown below to interpose the ncad_addr socket utility libary: LD_PRELOAD=/usr/lib/ncad_addr.so /usr/bin/httpd FILES
/usr/lib/ncad_addr.so ncad_addr socket utility library shared object ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWncar (32-bit) | +-----------------------------+-----------------------------+ | |SUNWncarx (64-bit) | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ SEE ALSO
nca(1), ncab2clf(1), ncakmod(1), socket(3SOCKET), nca.if(4), ncakmod.conf(4), attributes(5) NOTES
Only applications that use the NCA feature, for example, web servers, should interpose this library. SunOS 5.10 18 Feb 2003 ncad_addr(4)
All times are GMT -4. The time now is 01:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy