Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu 64bit 11.04 server and curl install fail

So I wanted to install curl with HTTPS protocol, I did it like so:

  1. sudo -i wget http://curl.haxx.se/download/curl-7.21.6.tar.bz2
  2. sudo -i tar jxf curl-7.21.6.tar.bz2
  3. sudo -i rm curl-7.21.6.tar.bz2
  4. sudo -i cd curl-7.21.6/
  5. sudo -i ./configure
  6. sudo -i make prefix=/usr/local all
  7. sudo -i make prefix=/usr/local install

and last I tried: sudo -i curl --version to see if I succeeded and the answer was "No!". The error I got is here:

curl: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
like image 270
Marko Avatar asked Dec 07 '22 21:12

Marko


1 Answers

Try this:

ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.4

like image 93
samir Avatar answered Jan 28 '23 23:01

samir