Skip to content

Instantly share code, notes, and snippets.

@fcamel
Last active July 22, 2018 14:23
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 fcamel/8cbcf675dad826a91adee036c46015cb to your computer and use it in GitHub Desktop.
Save fcamel/8cbcf675dad826a91adee036c46015cb to your computer and use it in GitHub Desktop.
Example of LD_DEBUG=libs
$ LD_DEBUG=libs out/Debug/chrome
30970: find library=libpthread.so.0 [0]; searching
30970: search path=/home/fcamel/dev/chromium/src/out/Debug/./tls/x86_64:/home/fcamel/dev/chromium/src/out/Debug/./tls:/home/fcamel/dev/chromium/src/out/Debug/./x86_64:/home/fcamel/dev/chromium/src/out/Debug/. (RPATH from file out/Debug/chrome)
30970: trying file=/home/fcamel/dev/chromium/src/out/Debug/./tls/x86_64/libpthread.so.0
30970: trying file=/home/fcamel/dev/chromium/src/out/Debug/./tls/libpthread.so.0
30970: trying file=/home/fcamel/dev/chromium/src/out/Debug/./x86_64/libpthread.so.0
30970: trying file=/home/fcamel/dev/chromium/src/out/Debug/./libpthread.so.0
30970: search cache=/etc/ld.so.cache
30970: trying file=/lib/x86_64-linux-gnu/libpthread.so.0
30970:
30970: find library=libembedder.so [0]; searching
30970: search path=/home/fcamel/dev/chromium/src/out/Debug/. (RPATH from file out/Debug/chrome)
30970: trying file=/home/fcamel/dev/chromium/src/out/Debug/./libembedder.so
30970:
30970: find library=libc++.so [0]; searching
30970: search path=/home/fcamel/dev/chromium/src/out/Debug/. (RPATH from file out/Debug/chrome)
30970: trying file=/home/fcamel/dev/chromium/src/out/Debug/./libc++.so
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment