Random.GetBlogEntry()
Thursday, December 16, 2010
Dynamic linking of shared libraries in Linux
To list the classes, functions, and methods exported by a shared library (.so), use this command:
nm -C --defined-only -g lib
library
.so
To view a list of shared libraries required by a program:
ldd
program
Tested on Ubuntu 10.10. Note that the equivalent functionality in Windows would be provided by dumpbin.exe.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment