幸福来得太突然:http://stackoverflow.com/questions/956640/linux-c-error-undefined-reference-to-dlopen
work in Linux with c++ (eclipse) and want to use a library. Eclipse shows me an error: undefined reference to 'dlopen'
You have to link against libdl, add
-ldl
to your linker options