Kornel Benko <[email protected]> wrote:
> Am Freitag 10 September 2010 schrieb Andreas Metzler:
>> Kornel Benko <[email protected]> wrote:
[...]
>> > 1.) determine all used shared libraries (parse output of "ldd
>> > {executable}")
>> ldd lists both dependencies and dependencies of dependencies, objdump
>> -p ... | grep NEEDED would be the correct tool.
> "ldd -v" lists both dependencies and ...
> ldd alone not.
EPARSE.
For clarification:
ametz...@argenau:~$ objdump -p /usr/bin/curl | grep NEEDED
NEEDED libcurl.so.4
NEEDED libz.so.1
NEEDED libc.so.6
NEEDED librt.so.1
ametz...@argenau:~$ ldd /usr/bin/curl
linux-gate.so.1 => (0xf775b000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0xf7707000)
libz.so.1 => /usr/lib/libz.so.1 (0xf76f2000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf7596000)
librt.so.1 => /lib/i686/cmov/librt.so.1 (0xf758d000)
libidn.so.11 => /usr/lib/libidn.so.11 (0xf755c000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0xf753b000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xf752d000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xf74ea000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xf74bf000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xf7479000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xf7326000)
/lib/ld-linux.so.2 (0xf775c000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xf730d000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xf72a5000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xf72a1000)
libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xf7287000)
libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xf7273000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xf725c000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xf71bf000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xf712b000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xf7106000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xf7103000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xf70fb000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xf70f7000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xf70f4000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xf70e3000)
The curl binary depends on libcurl, zlib libc and librt. ldd does not
only list /usr/bin/curl dependencies, but also the dependencies of
libcurl, zlib libc and librt. The dependencies of the curl package
itself should only list the direct dependencies.
cu andreas
--
You received this message because you are subscribed to the Google Groups
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx