error while loading shared libraries: libpcap.so.1 解决方法
来源:互联网 发布:wayuu图案设计软件 编辑:程序博客网 时间:2024/06/06 05:12
错误提示:error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory
环境:fedora 7 libpcap-1.2.1
操作:代码由C编写,gcc编译通过,以管理员权限运行,出错
在网上搜罗了下,成功解决问题。
1. 执行 locate libpcap.so.1 , 查看libpcap.so.1在系统中的路径 , 显示为 : /usr/local/lib/libpcap.so.1.2.1
2. 以管理员权限打开编辑 /etc/ld.so.conf 文件, 末尾新一行追加 /usr/local/lib , /usr/local/lib 为 libpcap.so.1.2.1 所在目录, 保存退出
3. 以管理员权限执行 ldconfig(如果不支持改命令用whereis ldconfig查看并设置环境变量)命令,
4. 成功
0 0
- error while loading shared libraries: libpcap.so.1 解决方法
- error while loading shared libraries: libpcap.so.1 解决方案
- rlwrap: error while loading shared libraries: libreadline.so.6解决方法
- Ubuntu error while loading shared libraries: ****.so.0 解决方法
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- 错误提示:error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such fil
- [error]error while loading shared libraries: libpcre.so.1 解决
- error while loading shared libraries: libgnutls.so
- error while loading shared libraries: libgnutls.so
- error while loading shared libraries: libICTCLAS50.so
- error while loading shared libraries: libcudart.so.##.
- error while loading shared libraries: libjli.so
- error while loading shared libraries:libselinux.so.1
- error while loading shared libraries: libpcre.so.1
- Nginx: error while loading shared libraries: libpcre.so.1
- [mysql]error while loading shared libraries: libaio.so.1: 解决方案
- C语言指针和数组基础
- [Win32] 直接读写磁盘扇区(磁盘绝对读写)
- 护肤小窍门
- 归档(archive)文件(一)
- 探索安卓中有意义的动画!
- error while loading shared libraries: libpcap.so.1 解决方法
- speex编解码在android上实现
- S5PV210 裸机开发驱动之LED灯
- AT LINE SELECTION的用法
- CoOS使用教程——任务的状态
- tomcat连接池配置详解
- awakeFromNib初始化方法和Nib文件
- 嵌入式Linux串口应用编程之串口配置
- 用NSCoding协议完成“编码/解码”操作-Object-C