问题
I am getting this linker error:
system/core/libacc/tests/main.cpp:42: error: undefined reference to 'dlsym'
Can you please tell me where is the library on ubuntu 9.10 which contains the library for 'dlsym'?
Thank you.
回答1:
From the dlsym(3)
man page:
#include <dlfcn.h>
....
Link with -ldl.
来源:https://stackoverflow.com/questions/2186219/where-is-the-library-for-dlsym