Skip to content

Instantly share code, notes, and snippets.

@qpfiffer
Created January 27, 2016 22:14
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 qpfiffer/e63f6ecbee9736ba3393 to your computer and use it in GitHub Desktop.
Save qpfiffer/e63f6ecbee9736ba3393 to your computer and use it in GitHub Desktop.
# Dynamic lib:
quinlan@corinthian:~/src/OlegDB$ ldd ./build/lib/liboleg.so
linux-gate.so.1 => (0xb777e000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7715000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7567000)
/lib/ld-linux.so.2 (0xb777f000)
# Building static lib:
quinlan@corinthian:~/src/OlegDB$ ar rcs ./build/lib/liboleg.a ./*.o
quinlan@corinthian:~/src/OlegDB$ ldd ./build/lib/liboleg.a
not a dynamic executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment