Pages

Friday, March 30, 2012

error while loading shared libraries linux ldd

when you run a binary and get this kind of error, try this command:

ldd

this will show out put as

 bin]# ldd /usr/bin/curl
    linux-gate.so.1 =>  not found
    libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00dd0000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00be6000)
    libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00110000)
    libc.so.6 => /lib/libc.so.6 (0x00a41000)
    librt.so.1 => /lib/librt.so.1 (0x00415000)

try to build again by linking the missing library file.

No comments:

Post a Comment