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
Post a Comment