2021年2月23日

【已解决】/usr/bin/ld: cannot find -lxxx通用解决办法

摘要: 报错信息:/usr/bin/ld: cannot find -lcurl 出错原因:找不到libcurl.so文件 解决办法: ①先康康有没有这个文件 在根目录中,注意,在根目录中,使用如下命令查找是否有这个文件: find -name *libcurl.so* 如果有,cp命令把它复制到/usr/ 阅读全文

posted @ 2021-02-23 21:57 northwest 阅读(14797) 评论(0) 推荐(1) 编辑

【已解决】解决libevent找不到.so文件的问题。

摘要: 报错信息:./server: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory 解决办法: 首先找库里面有没有这个so文 阅读全文

posted @ 2021-02-23 04:15 northwest 阅读(637) 评论(0) 推荐(0) 编辑

【已解决】libevent库存在,但编译时依旧报错找不到头文件。

摘要: 报错信息:fatal error: event2/bufferevent.h: No such file or directory 解决办法:找到libevent安装的文件夹,如libevent-1.2.8-stable,找到下面的include目录,把该目录所有的文件复制到/usr/include 阅读全文

posted @ 2021-02-23 03:35 northwest 阅读(1494) 评论(0) 推荐(0) 编辑

导航