免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1666 | 回复: 3
打印 上一主题 下一主题

大晚上的求救呀 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-10 21:49 |只看该作者 |倒序浏览
直接上问题,不罗嗦

我有个应用程序A在linux下编译,要用到其他程序B的.so文件和.h文件,每次编译A都会报缺少.h文件,想修改makefile,但是查看了B 的文档,指出要求增加环境变量set the LIBPATH environment variable. 然后我修改了/etc/profile   增加了 export  LIBPATH=$LIBPATH/。。。。B程序.h的路径,我只进行到这步

请高人指导  我肚子好痛,我现去个厕所。。。。。

论坛徽章:
5
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:53:172015亚冠之水原三星
日期:2015-06-02 16:34:202015年亚冠纪念徽章
日期:2015-10-19 18:13:37程序设计版块每日发帖之星
日期:2015-11-08 06:20:00
2 [报告]
发表于 2011-04-11 00:24 |只看该作者
你吃了有毒的蘑菇了么? 吃之前先给狗吃点看看反映

论坛徽章:
0
3 [报告]
发表于 2011-04-11 09:16 |只看该作者
The UNIX Runtime Library Files

On Unix systems (such as Solaris, AIX, and HP-UX), the library files consist of a shared object library. When running clients built with these libraries, make sure to set the appropriate environment variable that specifies the run-time path used to find libraries.

For example, on Solaris and Linux, set the LD_LIBRARY_PATH environment variable to the location of the shared library. On HP-UX, set the SHLIB_PATH environment variable if you are using the -Wl,+s+b flag to compile your client application. On AIX, set the LIBPATH environment variable.

论坛徽章:
0
4 [报告]
发表于 2011-04-11 09:17 |只看该作者
回复 2# xinglp


    没道德呀,没道德
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP