Skip to content

Instantly share code, notes, and snippets.

@ryanprior
Created February 10, 2022 21:05
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 ryanprior/c2a12584d48ef35f11a99da469f7cb36 to your computer and use it in GitHub Desktop.
Save ryanprior/c2a12584d48ef35f11a99da469f7cb36 to your computer and use it in GitHub Desktop.
ryan@swallowtail:~$ guix shell -C coreutils glibc direnv which bash -- bash
ryan@swallowtail ~ [env]$ ldd $(which direnv)
linux-vdso.so.1 (0x00007ffe8eed7000)
libpthread.so.0 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0 (0x00007ff040f1a000)
libgcc_s.so.1 => /gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libgcc_s.so.1 (0x00007ff040f00000)
libc.so.6 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6 (0x00007ff040d3e000)
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2 => /gnu/store/w7fp5xk2s9djdriflyhhva21b536vdaf-glibc-2.33/lib/ld-linux-x86-64.so.2 (0x00007ff040f3c000)
ryan@swallowtail ~ [env]$ exit
ryan@swallowtail:~$ ldd $(which direnv)
linux-vdso.so.1 (0x00007fff67dff000)
libpthread.so.0 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0 (0x00007f01e16a4000)
libgcc_s.so.1 => /gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libgcc_s.so.1 (0x00007f01e168a000)
libc.so.6 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6 (0x00007f01e14c8000)
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f01e149d000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment