Where is the library for 'dlsym'

前端 未结 1 1913
悲&欢浪女
悲&欢浪女 2021-01-19 12:23

I am getting this linker error:

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

Can you please tell me where

相关标签:
1条回答
  • 2021-01-19 13:10

    From the dlsym(3) man page:

    #include <dlfcn.h>
    
      ....
    
    Link with -ldl.
    
    0 讨论(0)
提交回复
热议问题