检查culr库的时候,终端:curl --version
显示:
curl: symbol lookup error: curl: undefined symbol: curl_url_cleanup
问题的原因可能是:
动态库存储的地方应该在usr/lib,而不是usr/local/lib。
最好的方法应该是修改文件位置,但是我啥也没改,编译的时候把动态库的位置链接到usr/local/lib就可以了,顺利完成编译。
参考链接:
http://blog.chinaunix.net/uid-21744621-id-21472.html