记录 deepin 下 curl 安装过程
1 wget https://curl.haxx.se/download/curl-7.55.1.tar.gz 2 3 4 tar xzfv curl-7.55.1.tar.gz 5 6 cd curl-7.55.1/ 7 8 ./configure 9 10 make 11 12 make install 13 14 15 curl
curl: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
查找解决办法 http://blog.csdn.net/dumeifang/article/details/2963223
1 find /usr/local/lib -iname "*curl" 2 3 /usr/local/lib/pkgconfig/libcurl.pc 4 /usr/local/lib/libcurl.a 5 /usr/local/lib/libcurl.so 6 /usr/local/lib/libcurl.la 7 /usr/local/lib/libcurl.so.4.4.0 8 /usr/local/lib/libcurl.so.4 9 10 sudo vim /etc/ld.so.conf 11 12 /usr/local/lib 13 14 :wq 15 16 17 sudo /sbin/ldconfig -v
转载请标明出自 原文地址
时间: 2024-10-14 00:50:33