curl安装
2013-12-13 19:00
260 查看
问题1:
curl: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file
解决方案:
ldconfig -v
ldconfig作用:
问题2:
ImportError: /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: Curl_base64_encode
http://www.ossec.cn/?p=430
http://hi.baidu.com/newcloud/item/c8635bfa6cefeb0bd99e7270
curl: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file
解决方案:
ldconfig -v
ldconfig作用:
/sbin/ldconfig - configure dynamic linker run time bindings -v Verbose mode. Print current version number, the name of each directory as it is scanned, and any links that are created. Overrides quiet mode.
问题2:
ImportError: /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: Curl_base64_encode
我只要pycurl.so它一个,所以进入pycurl-7.19.0\src 修改下 vim Makefile PYINCLUDE=/usr/include/python2.6/ 注意这儿需要 python-devel, 没安装的就安装吧(就当更新python玩吧) yum install python-devel OK, 编译下pycurl.so make cp /usr/lib64/python2.6/site-packages/pycurl.so /home/backup ##备份下之前,有问题也好恢复 cp ./pycurl.so /usr/lib64/python2.6/site-packages/pycurl.so 好了,运行下yum试试。
http://www.ossec.cn/?p=430
http://hi.baidu.com/newcloud/item/c8635bfa6cefeb0bd99e7270
相关文章推荐
- 为什么要使用SLF4J而不是Log4J
- rac下链接管理
- 使用 Core Data 将数据显示到表格(不使用.xib 文件)
- grid_MVC
- Web端服务器推送技术原理分析及dwr框架简单的使用
- Sublime text2 的几个小技巧和资料汇总
- android获取package name
- 内连接、左连接、左外连接、右连接的区别
- Vim 实用技术
- 详解大端模式和小端模式
- 关于整合spring和mybatis
- C++类静态成员与类静态成员函数
- ftp简单使用
- Qt入门-使用QT+VS2008开发windows应用程序
- 金额输入的正则表达式
- VB6生成DLL,供Asp调用
- 试试怎么发代码
- 80后的我们就像小猪麦兜
- 如何对仅在指定调用路径下的函数断下断点
- 理解MySQL——索引与优化(转)