Hi everyone,
I want to use the dlsym (header: <dlfcn.h> ) function to get a symbol from a shared object. But I don't know which library defines the dlsym function. So when I compile my program:
gcc -g test.c
I get the error message
test.o: undefined reference to 'dlsym'
Can anyone help me?
Thanx, Tobi
I want to use the dlsym (header: <dlfcn.h> ) function to get a symbol from a shared object. But I don't know which library defines the dlsym function. So when I compile my program:
gcc -g test.c
I get the error message
test.o: undefined reference to 'dlsym'
Can anyone help me?
Thanx, Tobi