I installed libcurl 7.33.0 on Linux. I used the following commands to install:
./configure
make
make install
If I run curl http://www.google.com
, I get the following error:
curl: (2) Failed initialization
curl is installed in / usr / local / bin and the header files in / usr / local / include / curl.
curl-config:
sandesh@ubuntu:~$ curl-config --features
IPv6
libz
sandesh@ubuntu:~$ curl-config --protocols
DICT
FILE
FTP
GOPHER
HTTP
IMAP
POP3
RTSP
SMTP
TELNET
TFTP
sandesh@ubuntu:~$ curl-config --ca
/etc/ssl/certs/ca-certificates.crt
sandesh@ubuntu:~$ curl-config --cflags
-I/usr/local/include
sandesh@ubuntu:~$ curl-config --configure
sandesh@ubuntu:~$ curl-config --libs
-L/usr/local/lib -lcurl
sandesh@ubuntu:~$ curl-config --static-libs
/usr/local/lib/libcurl.a -lz -lrt
I believe this has something to do with my configuration.
source
share