'dlsym'的库在哪里 [英] Where is the library for 'dlsym'

查看:371
本文介绍了'dlsym'的库在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此链接器错误:

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

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

Can you please tell me where is the library on ubuntu 9.10 which contains the library for 'dlsym'?

谢谢.

推荐答案

dlsym(3)手册页中:

#include <dlfcn.h>

  ....

Link with -ldl.

这篇关于'dlsym'的库在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆