5

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.

wberry
  • 18,519
  • 8
  • 53
  • 85
hap497
  • 154,439
  • 43
  • 83
  • 99

1 Answers1

12

From the dlsym(3) man page:

#include <dlfcn.h>

  ....

Link with -ldl.
Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358