Last active
December 2, 2019 14:04
-
-
Save Bogdaan/d9fe56edf4c9f854c38d782482979eb5 to your computer and use it in GitHub Desktop.
Tools for binaries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list shared libraries required for binary | |
otool -L <binary> | |
# linux version | |
ldd <binary> | |
# list all system shared libraries | |
sbin/ldconfig -p | less | |
# overide libraries for some program | |
LD_LIBRARY_PATH=/opt/my/lib binary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment