![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
List the shared libraries that a program requires (Unix)
ldd program ...
Neutrino
None.
The ldd (“list dynamic dependencies”) command lists the shared libraries that the specified programs require. If you don't specify the full path for a program, ldd looks for it in your current directory.
# ldd `which ksh` /bin/ksh: libc.so.3 => /usr/lib/ldqnx.so.2 (0xb0300000) # ldd `which appbuilder` /usr/qnx640/host/qnx6/x86/usr/photon/appbuilder/appbuilder: libph.so.3 => /usr/lib/libph.so.3 (0xb8200000) libphexlib.so.3 => /usr/lib/libphexlib.so.3 (0xb8311000) libfont.so.1 => /lib/libfont.so.1 (0xb8340000) libimg.so.1 => /lib/libimg.so.1 (0xb8348000) libc.so.3 => /usr/lib/ldqnx.so.2 (0xb0300000)
![]() |
![]() |
![]() |
![]() |