Wednesday, November 15, 2006

ldd

Here is one way you can find out the sared library dependencies using ldd

-bash-3.00$ ldd `which mysql`
libcurses.so.1 => /lib/sparcv9/libcurses.so.1
librt.so.1 => /lib/sparcv9/librt.so.1
libcrypt_i.so.1 => /usr/lib/sparcv9/libcrypt_i.so.1
libgen.so.1 => /lib/sparcv9/libgen.so.1
libsocket.so.1 => /lib/sparcv9/libsocket.so.1
libnsl.so.1 => /lib/sparcv9/libnsl.so.1
libm.so.2 => /lib/sparcv9/libm.so.2
libz.so.1 => /usr/lib/sparcv9/libz.so.1
libCstd.so.1 => /usr/lib/sparcv9/libCstd.so.1
libCrun.so.1 => /usr/lib/sparcv9/libCrun.so.1
libthread.so.1 => /lib/sparcv9/libthread.so.1
libc.so.1 => /lib/sparcv9/libc.so.1
libaio.so.1 => /lib/64/libaio.so.1
libmd5.so.1 => /lib/64/libmd5.so.1
libmp.so.2 => /lib/64/libmp.so.2
libscf.so.1 => /lib/64/libscf.so.1
libdoor.so.1 => /lib/64/libdoor.so.1
libuutil.so.1 => /lib/64/libuutil.so.1
/platform/SUNW,Sun-Fire-V210/lib/sparcv9/libc_psr.so.1
/platform/SUNW,Sun-Fire-V210/lib/sparcv9/libmd5_psr.so.1

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home