So, I wanted to set curl with the HTTPS protocol, I did it like this:
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
prefix=/usr/localshould be set instead configure, for example:
prefix=/usr/local
configure
./configure --prefix=/usr/local
make. configure /usr/local autotools, . :
make
/usr/local
make clean && make && sudo make install
, , sudo root. make install, , - chmod . , .
:
ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.4
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
sudo ldconfig