DormanResearch : LinkingCode?

Referers: LinuxHints :: (Remote :: Orphans :: Tree )

Dorman Wiki
Dorman Lab Wiki
0How can I see what libraries are linked in an executable?
ldd <compiled_code>

0How can I see what symbols are defined by compiled code?
nm executable (If this does not work, symbol table may be stripped.  Try objdump -T executable.)
nm object_file
nm static_library
nm -D shared_library

0How can I determine if a library is 32-bit or 64-bit?
objdump -a <libname>

0What are the contents of a static library (*.a)?
ar -vt <static_library>

0What if the program compiles but then complains that a library cannot be found?
export LD_LIBRARY_PATH=/Users/Software/lib64

There is no comment on this page. [Display comments/form]