Where is the library for 'dlsym'

I get this linker error:

system/core/libacc/tests/main.cpp:42: error: undefined reference to 'dlsym'

Could you tell me where is the library on ubuntu 9.10 that contains the library for dlsym?

Thank.

+3
source share
1 answer

On the dlsym(3)man page :

#include <dlfcn.h>

  ....

Link with -ldl.
+10
source

Source: https://habr.com/ru/post/1731047/


All Articles