您尚未登录。

楼主 #1 2019-08-19 19:35:10

chendong
会员
注册时间: 2019-07-22
已发帖子: 77
积分: 77

gcc 库的寻找。

最近在编译pjsip,我的gcc按照目录是/opt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf,我在目录下find ,sinlinx@ubuntu://opt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf$ sudo find . -name libpthread.so.0
./arm-linux-gnueabihf/libc/lib/libpthread.so.0
能找到这个库啊。但是make 项目确提示,/opt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find /lib/libpthread.so.0
这是什么意思,这个ld 和路径什么关系。哪位指教一下,不胜感激。

离线

#2 2019-08-19 19:51:13

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,237
积分: 9197

Re: gcc 库的寻找。

应该不会出现这种问题,你的完整编译命令是什么





离线

楼主 #3 2019-08-19 23:42:50

chendong
会员
注册时间: 2019-07-22
已发帖子: 77
积分: 77

Re: gcc 库的寻找。

晕哥 说:

应该不会出现这种问题,你的完整编译命令是什么

就是先./configure , 然后make 就这么编译了。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn