libgendep, dlsym undefined symbol

Protasio Ramirez, Joan joan.protasio-ramirez at
Fri Jan 23 18:12:50 CET 2009

Hi all,

I'm having problems in executing libgendep 1.0. I don't have problems compiling, it's only in the execution time.
The shell shows me the error:  

gcc : symbol lookup error : : undefined symbol :dlsym

I have been investigating the library code and in syscall.c there are some functions which use dlsym.
The problem is that the pointer address that returns dlsym is not valid (undefined). (I think so), so I have tried to change the arguments to call dlsym.

I have tried dlsym(RTLD_SELF,) or dlsym(RTLD_DEFAULT) dlsym(RTLD_LAZY) but it doesn't works.

Could you give any guess??

Thanks so much


More information about the l4-hackers mailing list