linker - 'dlsym' 的库在哪里

标签 linker ubuntu-9.10

我收到此链接器错误:

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

您能告诉我 ubuntu 9.10 上包含“dlsym”库的库在哪里吗?

谢谢你。

最佳答案

来自 dlsym(3)手册页:

#include <dlfcn.h>

  ....

Link with -ldl.

关于linker - 'dlsym' 的库在哪里,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2186219/

相关文章:

python - 使用 python(后台守护进程)检查是否按下了键

svn - 如何登录WebSVN

gcc - Ada 版本的命令行?

c++ - 如何以正确的方式构建 CMakeLists?

mysql - Oracle 数据库 - 链接到 Mac 上的 MySql?

ios - XCode 4.2 Lion(iOS 产品)中与 Objective-C++/C++ 的链接错误

c - 使用另一个目录中另一个 C 文件中的函数?

c++ - Boost Filesystem 在 Linux 上创建目录,用 "/"替换 "\"

c++ - 静态 const 类成员的奇怪链接器问题

database - Magento 安装停留在配置