undefined reference to symbol 'dlsym@@GLIBC_2.4'
In general, the man page for the symbol you can't find tells you what libraries you need to link in. In your case:
http://linux.die.net/man/3/dlsym
Note the line:
Link with -ldl.
In general, the man page for the symbol you can't find tells you what libraries you need to link in. In your case:
http://linux.die.net/man/3/dlsym
Note the line:
Link with -ldl.