ldd output


 
Thread Tools Search this Thread
Operating Systems Solaris ldd output
# 1  
Old 10-07-2008
ldd output

Hello,

Code:
$ldd /usr/lib/libdl.so.1

give nothing in output/ Is this library ok ?

Code:
*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
# 2  
Old 10-07-2008
You can define LD_LIBRARY_PATH to have a usual path structure to poin to directories.
You can also use crle
Code:
crle                                # list current ld config
crle -l  <custom_path>  -u  # will update the ld config.

Read the crle manpage first, it is easy to hose the ld config file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. Red Hat

Command understanding the output file destination in case of standard output!!!!!

I ran the following command. cat abc.c > abc.c I got message the following message from command cat: cat: abc.c : input file is same as the output file How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies

3. Shell Programming and Scripting

script to mail monitoring output if required or redirect output to log file

Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions. ... (4 Replies)
Discussion started by: aix_admin_007
4 Replies

4. Shell Programming and Scripting

Awk script to run a sql and print the output to an output file

Hi All, I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file. Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 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. UNIX for Advanced & Expert Users

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 ... (3 Replies)
Discussion started by: shafi2all
3 Replies

7. Shell Programming and Scripting

how to make a line BLINKING in output and also how to increase font size in output

how to make a line BLINKING in output and also how to increase font size in output suppose in run a.sh script inside echo "hello world " i want that this should blink in the output and also the font size of hello world should be big .. could you please help me out in this (3 Replies)
Discussion started by: mail2sant
3 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. AIX

Getting problem in linking using "ldd"

Hi I have one libXYZ.a executable. When i did ldd on that file, it gives me error like "Cannot find /usr/ccs/lib//libpthread.a(shr_xpg5.o)". The same library is loaded by the libABC.a executable. The file location is added to "LIBPATH" variable. And also libpthread.a is present... (4 Replies)
Discussion started by: mail2virag
4 Replies

10. 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
Login or Register to Ask a Question