header - How to know which dynamic libraries are needed by an ELF? -
Is there a tool that prints the name of the dynamic libraries needed to run Linux executable by reading the header?
I need to know if there are some weird dependencies (i.e. not very standard) in the binary that I have just created from source (this is the python branch of GDB) or it is mostly statically linked is. I think the makefile would be easier than reading ...
/ usr / bin / ldd
your friend Sample output:
linux-vdso.so.1 = & Gt; (0x00007ffd14f79000) libselinux.so.1 = & gt; /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f2d875fc000) libacl.so.1 = & gt; /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f2d873f4000) libc.so.6 = & gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d8702f000) libpcre.so.3 = & gt; /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f2d86df1000) libdl.so.2 = & gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2d86bed000) /lib64/ld-linux-x86-64.so.2 (0x00007f2d8781f000) libattr.so.1 = & gt; /lib/x86_64-linux-gnu/libattr.so.1 (0x00007f2d869e8000)
Comments
Post a Comment