How do I load a shared object in C++?

There are two ways of loading shared objects in C++ For either of these methods you would always need the header file for the object you want to use. The header will contain the definitions of the classes or objects you want to use in your code. Statically: #include “blah.h” int main() { ClassFromBlah a; … Read more

Command Line to see the contents Shared Object Module(lib*.so)

use nm -D –defined-only libname.so to get the symbol names from your dynamic library. The –defined-only switch shows you only the symbol that are defined in these files, and not references to external functions. An alternative is to use objdump, and catch only the symbols in the text section : objdump -T /usr/lib/libjpeg.so | grep … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)