Ubuntu 64bit 11.04 error and curl setting

So, I wanted to set curl with the HTTPS protocol, I did it like this:

  • sudo -i wget http://curl.haxx.se/download/curl-7.21.6.tar.bz2
  • sudo -i tar jxf curl-7.21.6.tar.bz2
  • sudo -i rm curl-7.21.6.tar.bz2
  • sudo -i cd curl-7.21.6 /
  • sudo -i./configure
  • sudo -i make prefix = / usr / local all
  • sudo -i make prefix = / usr / local install

and the last time I tried: sudo -i curl --version to see if I was able to do this, and the answer was “No!”. The error I received is here:

curl: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
+3
source share
3 answers

prefix=/usr/localshould be set instead configure, for example:

./configure --prefix=/usr/local

make. configure /usr/local autotools, . :

make clean && make && sudo make install

, , sudo root. make install, , - chmod . , .

+4

:

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

+7

Try starting sudo ldconfigin CentOs 5.0 (after adding a symlink from /usr/lib/libcurl.so.4 to / usr / local / lib / libcurl.so.4). See: http://curl.haxx.se/mail/tracker-2009-05/0014.html

+2
source

All Articles