cURL / Mailing Lists / curl-library / Single Mail


libcurl Reporting Different Version Between Commands

From: Ben Thomas <>
Date: Mon, 29 Apr 2013 20:10:52 +0100

I previously had cURL 7.22.0 on Ubuntu 12.04 Server.. but I now need to
upgrade to cURL 7.30.0.

I've done the following to compile this version for Ubuntu:


tar -xvzf curl-7.30.0.tar.gz

cd curl-7.30.0/

./configure --prefix=/usr

make clean


make install

After doing all that I ran curl --version expecting to see the new version
installed. cURL had updated to 7.30.0 as expected, but libcurl hadn't:

curl 7.30.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1
zlib/ libssh2/1.2.8 librtmp/2.3 Protocols: dict file
ftp ftps gopher
http https imap imaps ldap pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet
tftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz

However, if I run "curl-config --version" I get libcurl 7.30.0 which is

Can anyone explain why there's a difference in version numbers? And how to
get them all showing the correct 7.30.0?


Some additional info from commands:

"which curl-config" gives "/usr/bin/curl-config"

"which curl" gives "/usr/bin/curl"

"whereis curl" gives "curl: /usr/bin/curl /usr/include/curl
/usr/share/man/man1/curl.1.gz /usr/share/man/man1/curl.1"

"whereis libcurl" gives "libcurl: /usr/lib/libcurl.a /usr/lib/
/usr/lib/ /usr/share/man/man3/libcurl.3"

"echo $PATH" gives

List admin:
Received on 2013-04-29