This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problems with a .so using dlsym()
- From: Miguel Angel de Vega <mvega at sgo dot es>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 21 Jul 2003 13:56:04 +0200
- Subject: problems with a .so using dlsym()
Hi all,
I have a external plugin (.so) from my main program, but when I use dlsym()
function to take the funcions of the .so, with some of then don't work, I
edit the .so and saw that the functions that don't work with the dlsym call
have some barbage in the function names (or strange identifiers, i don't
know), for example:
if I have this function:
copyFromTemplate();
in the .so appers like:
_Z9copyFromTemplatePv
because this i think that the dlsym() call fails... someone can help me?
thanks all ways :)