Skip to content

Instantly share code, notes, and snippets.

@jasonwbarnett
Created September 10, 2018 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwbarnett/83de427f49297c4ee0c63e0c2c5e6a83 to your computer and use it in GitHub Desktop.
Save jasonwbarnett/83de427f49297c4ee0c63e0c2c5e6a83 to your computer and use it in GitHub Desktop.
[jasonbarnett@el7 rugged]$ ldd rugged.so
linux-vdso.so.1 => (0x00007ffe6bff9000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fca258c8000)
libcurl.so.4 => /opt/chefdk/embedded/lib/libcurl.so.4 (0x00007fca2565b000)
libssh2.so.1 => /lib64/libssh2.so.1 (0x00007fca25431000)
libssl.so.1.0.0 => /opt/chefdk/embedded/lib/libssl.so.1.0.0 (0x00007fca251c5000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fca24fc1000)
libz.so.1 => /opt/chefdk/embedded/lib/libz.so.1 (0x00007fca24daa000)
libcrypto.so.1.0.0 => /opt/chefdk/embedded/lib/libcrypto.so.1.0.0 (0x00007fca248fc000)
libruby.so.2.4 => /opt/chefdk/embedded/lib/libruby.so.2.4 (0x00007fca243e5000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fca241ae000)
libm.so.6 => /lib64/libm.so.6 (0x00007fca23eac000)
libc.so.6 => /lib64/libc.so.6 (0x00007fca23adf000)
/lib64/ld-linux-x86-64.so.2 (0x00007fca25e1a000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007fca2386d000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fca2340c000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007fca23209000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fca22fbc000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fca22cd4000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fca22ad0000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fca2289d000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fca2268f000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fca2248b000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fca22272000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fca2204b000)
libpcre.so.1 => /opt/chefdk/embedded/lib/libpcre.so.1 (0x00007fca21e08000)
[jasonbarnett@el7 rugged]$ readelf -d rugged.so
Dynamic section at offset 0x12c868 contains 35 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libcurl.so.4]
0x0000000000000001 (NEEDED) Shared library: [libssh2.so.1]
0x0000000000000001 (NEEDED) Shared library: [libssl.so.1.0.0]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.1.0.0]
0x0000000000000001 (NEEDED) Shared library: [libruby.so.2.4]
0x0000000000000001 (NEEDED) Shared library: [libcrypt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000f (RPATH) Library rpath: [/home/jasonbarnett/.chefdk/gem/ruby/2.4.0/gems/rugged-0.27.4/ext/rugged/../../vendor/libgit2/build:/opt/chefdk/embedded/lib]
0x000000000000000c (INIT) 0x28600
0x000000000000000d (FINI) 0xef1e0
0x0000000000000019 (INIT_ARRAY) 0x32bcc8
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0x32bcd0
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x1f0
0x0000000000000005 (STRTAB) 0xfaf8
0x0000000000000006 (SYMTAB) 0x3618
0x000000000000000a (STRSZ) 42815 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x32d000
0x0000000000000002 (PLTRELSZ) 38856 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x1ee38
0x0000000000000007 (RELA) 0x1b340
0x0000000000000008 (RELASZ) 15096 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0x1b2a0
0x000000006fffffff (VERNEEDNUM) 2
0x000000006ffffff0 (VERSYM) 0x1a238
0x000000006ffffff9 (RELACOUNT) 439
0x0000000000000000 (NULL) 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment