LDD(1) General Commands Manual LDD(1)NAME
ldd - print shared library dependencies
SYNOPSIS
ldd [OPTION]... FILE...
DESCRIPTION
ldd prints the shared libraries required by each program or shared library specified on the command line.
OPTIONS --version
Print the version number of ldd.
-v --verbose
Print all information, including e.g. symbol versioning information.
-d --data-relocs
Perform relocations and report any missing objects (ELF only).
-r --function-relocs
Perform relocations for both data objects and functions, and report any missing objects or functions (ELF only).
-u --unused
Print unused direct dependencies.
--help Usage information.
BUGS
ldd does not work on a.out shared libraries.
ldd does not work with some extremely old a.out programs which were built before ldd support was added to the compiler releases. If you
use ldd on one of these programs, the program will attempt to run with argc = 0 and the results will be unpredictable.
AUTHOR
Roland McGrath and Ulrich Drepper.
SEE ALSO ldconfig(8), ld.so(8).
30 October 2000 LDD(1)
Check Out this Related Man Page
LDD(1) General Commands Manual LDD(1)NAME
ldd - print shared library dependencies
SYNOPSIS
ldd [OPTION]... FILE...
DESCRIPTION
ldd prints the shared libraries required by each program or shared library specified on the command line.
OPTIONS --version
Print the version number of ldd.
-v --verbose
Print all information, including e.g. symbol versioning information.
-d --data-relocs
Perform relocations and report any missing objects (ELF only).
-r --function-relocs
Perform relocations for both data objects and functions, and report any missing objects or functions (ELF only).
-u --unused
Print unused direct dependencies.
--help Usage information.
BUGS
ldd does not work on a.out shared libraries.
ldd does not work with some extremely old a.out programs which were built before ldd support was added to the compiler releases. If you
use ldd on one of these programs, the program will attempt to run with argc = 0 and the results will be unpredictable.
AUTHOR
Roland McGrath and Ulrich Drepper.
SEE ALSO ldconfig(8), ld.so(8).
30 October 2000 LDD(1)
Hello everybody,
I am having major problems at the moment with shared libraries and I have to little knowledge of them to solve them. So please, please help me :)
Ok this is the problem:
I have a library A, which uses B and C, and C uses again D.
If I try to run A as plugin in apache,... (0 Replies)
Hi!
I have the following problem with C++ programs on Unix:
There is a binary executable program called, e.g. Main. It is dynamically linked with two shared libraries: Shared1 and Shared2. Both of these libraries, in turn, are statically linked with a static library called Static. This static... (0 Replies)
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)
Dear group,
I need to load dependent libraries for an application which is in ELF format.please let me know how to parse the ELF file to find dependent libraries.
thnaks in advance,
Ravinder (3 Replies)
How do we fix library conflicts?
When I do ldd on Mysql Driver, I get an error
ldd libmyodbc5.so
libmyodbc5.so needs:
/usr/lib/libdl.a(shr_64.o)
Cannot find libodbcinst.so
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/unix
... (1 Reply)
I have a shared library file (.so) and I need to know some information
1. By which GCC version was this .so built?
2. Was this .so built in 32 bits mode or 64 bits mode
Any command / tools to backtrace such kind of information?
Thanks in advance! (2 Replies)
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)
I had to whip this up, and it seems useful enough to post here. Say you have been cleaning up your filesystem, and you removed a bunch of libraries, or you shuffled around some library directories, and aren't sure if ld.so.conf is correctly setup. You want to sweep through your file system looking... (0 Replies)
Hi Gurus,
I have a odbc in Linux.
when I run command ldd. I got following result:
# ldd DWora26.so
linux-vdso.so.1 => (0x00007fff26355000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc31e70a000)
librt.so.1 => /lib64/librt.so.1 (0x00007fc31e501000)
... (1 Reply)
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)
I'm under huge pressure to recover data from an old server that only gets booted very infrequently. The data on it is urgently required - isn't always??!
..
Server is an HP DL380G5 which is running SCO Unixware 7.11
..
It has 3 partitions in a RAID 5 Configuration: 1 of 10GB (I assume it... (19 Replies)
This is the first time that I created a dynamic library in linux and although the program works, I do not get the correct information about the library when executing ldd.
I explain the details:
1) Source code:
bye_fn.c:
#include <stdio.h>
#include "hello.h"
void bye (const char*... (9 Replies)