Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created April 12, 2018 12:06
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 grahamc/caffbdcd1e4271b8f4f841d6fb316958 to your computer and use it in GitHub Desktop.
Save grahamc/caffbdcd1e4271b8f4f841d6fb316958 to your computer and use it in GitHub Desktop.
[1] grahamc@Morbo> ldd $(which file) ~
linux-vdso.so.1 (0x00007ffe0cfa4000)
libmagic.so.1 => /nix/store/5vfq47pl1cy8n237jwqp3pgk99rj9w1s-file-5.32/lib/libmagic.so.1 (0x00007f6e605e5000)
libz.so.1 => /nix/store/r43dk927l97n78rff7hnvsq49f3szkg6-zlib-1.2.11/lib/libz.so.1 (0x00007f6e603ce000)
libc.so.6 => /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libc.so.6 (0x00007f6e6001c000)
/nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/ld-linux-x86-64.so.2 => /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib64/ld-linux-x86-64.so.2 (0x00007f6e60807000)
grahamc@Morbo> ldd $(which bash) ~
linux-vdso.so.1 (0x00007fff35fe8000)
libreadline.so.7 => /nix/store/a2vpf37zn5z4k6r6cvydl3m1i0757i73-readline-7.0p3/lib/libreadline.so.7 (0x00007fb3528a5000)
libhistory.so.7 => /nix/store/a2vpf37zn5z4k6r6cvydl3m1i0757i73-readline-7.0p3/lib/libhistory.so.7 (0x00007fb35269b000)
libncursesw.so.6 => /nix/store/069g827lh3hrhp4vkcq3rsh5jh65pm3l-ncurses-6.0-20171125/lib/libncursesw.so.6 (0x00007fb35242e000)
libdl.so.2 => /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libdl.so.2 (0x00007fb35222a000)
libc.so.6 => /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libc.so.6 (0x00007fb351e78000)
/nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/ld-linux-x86-64.so.2 => /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib64/ld-linux-x86-64.so.2 (0x00007fb352af2000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment