2010-02-02 52 views
3

我得到這個連接錯誤庫:哪裏是「對dlsym」

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

能否請你告訴我哪裏是它包含了「對dlsym」庫在Ubuntu 9.10的圖書館嗎?

謝謝。

回答

10

dlsym(3)手冊頁:

#include <dlfcn.h> 

    .... 

Link with -ldl.