c++ - How to check shared library is loaded successfully or not loaded using dlopen? -



c++ - How to check shared library is loaded successfully or not loaded using dlopen? -

im loading shared library using dlopen() function in c++ program.

then how check loaded or not? or can check loading of library using mangled name of function nowadays in library?

from manual page:

if dlopen() fails reason, returns null.

the dlsym function can not handle c++ identifiers, unless have been declared extern "c", or using mangled name.

c++ linux shared-libraries

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -