libgendep, dlsym undefined symbol

Michael Roitzsch mroi at os.inf.tu-dresden.de
Tue Feb 10 17:42:47 CET 2009


Hi,

> Yes I have the same error. The debug result is:
>
> [...]
>      9857:     calling init: libgendep.so
>      9857:
>      9857:     symbol=fopen;  lookup in file=gcc
>      9857:     symbol=fopen;  lookup in file=libgendep.so
>      9857:     binding file libgendep.so to libgendep.so: normal  
> symbol `fopen'
>      9857:     symbol=dlsym;  lookup in file=gcc
>      9857:     symbol=dlsym;  lookup in file=libgendep.so
>      9857:     symbol=dlsym;  lookup in file=/lib/libc.so.6
>      9857:     symbol=dlsym;  lookup in file=/lib/ld-linux.so.2
>      9857:     libgendep.so: error: symbol lookup error: undefined  
> symbol: dlsym (fatal)
> gcc: symbol lookup error: libgendep.so: undefined symbol: dlsym


My guess would be that libdl.so is missing on your system. This  
library is typically installed as /lib/tls/libdl.so.2 or something  
similar.

If this does not lead you anywhere, please post the output of

ldd /path/to/your/libgendep.so

Michael





More information about the l4-hackers mailing list