Where is the library for 'dlsym'

前端 未结 1 1933
悲&欢浪女
悲&欢浪女 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 
    
      ....
    
    Link with -ldl.
    

    0 讨论(0)
提交回复
热议问题