title: Libcurl not updated
body: <p>I am on Ubuntu 14.04 and need curl version > 7.40 so I have followed some steps to install latest curl version (7.48)</p>
  
  <p>As root</p>
  
  <pre><code>wget http://curl.haxx.se/download/curl-7.48.0.tar.gz
  apt-get install libtool
  apt-get install make
  </code></pre>
  
  <p>Extracted the file  </p>
  
  <pre><code>tar -xvf curl-7.48.0.tar.gz
  </code></pre>
  
  <p>then in the extracted folder:</p>
  
  <pre><code>./buildconf
  ./configure
  make
  make install
  </code></pre>
  
  <p>Updated the binaries</p>
  
  <pre><code>mv /usr/bin/curl /usr/bin/curl.bak
  cp /usr/local/bin/curl /usr/bin/curl
  </code></pre>
  
  <p>then restarted the machine.
  I can see the new curl version but the libcurl library is not updated, is still 7.35</p>
  
  <pre>
  root:~# curl -V
  <b>curl 7.48.0</b> (x86_64-unknown-linux-gnu) <b>libcurl/7.35.0,</b> OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
  Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp 
  Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP 
  </pre>
  
  <p>I've checked the file /etc/ld.so.conf
  but it doesn't give me much info</p>
  
  <pre><code>include /etc/ld.so.conf.d/*.conf
  </code></pre>
  
  <p>As well the folder:</p>
  
  <pre><code>root:/etc/ld.so.conf.d# ll
  total 52
  drwxr-xr-x   2 root root  4096 Feb 18 14:17 ./
  drwxr-xr-x 167 root root 12288 Apr 26 14:30 ../
  -rwxr-xr-x   1 root root    26 Nov 21  2007 agnclient-compat.conf*
  -rw-r--r--   1 root root    14 Aug 24  2009 agns.conf
  -rw-rw-r--   1 root root    38 Mar 24  2014 fakeroot-x86_64-linux-gnu.conf
  lrwxrwxrwx   1 root root    40 Feb  5 16:42 i386-linux-gnu_GL.conf -&gt; /etc/alternatives/i386-linux-gnu_gl_conf
  -rw-r--r--   1 root root   108 Apr 12  2014 i686-linux-gnu.conf
  -rw-r--r--   1 root root    44 Aug  9  2009 libc.conf
  -rw-r--r--   1 root root    33 Aug  1  2014 symav.conf
  -rw-r--r--   1 root root    68 Apr 12  2014 x86_64-linux-gnu.conf
  lrwxrwxrwx   1 root root    43 Feb  3 12:05 x86_64-linux-gnu_EGL.conf -&gt; /etc/alternatives/x86_64-linux-gnu_egl_conf
  lrwxrwxrwx   1 root root    42 Feb  3 12:05 x86_64-linux-gnu_GL.conf -&gt; /etc/alternatives/x86_64-linux-gnu_gl_conf
  -rw-r--r--   1 root root    56 Apr 12  2014 zz_i386-biarch-compat.conf
  -rw-r--r--   1 root root    58 Apr 12  2014 zz_x32-biarch-compat.conf
  root:/etc/ld.so.conf.d# 
  </code></pre>
  
  <h2>Update</h2>
  
  <p>going through each conf file I have found 3 places where there is libcurl library</p>
  
  <p>under <b>/usr/lib/agnclient-compat</b> (agnclient is an AT&amp;T VPN agent client)</p>
  
  <pre><code>lrwxrwxrwx   1 root root      16 Feb  3 12:11 libcurl.so.3 -&gt; libcurl.so.3.0.0
  -rw-r--r--   1 root root  248028 Nov 21  2007 libcurl.so.3.0.0
  </code></pre>
  
  <p>under <b>/usr/local/lib</b></p>
  
  <pre><code>lrwxrwxrwx  1 root root     16 Apr 25 12:34 libcurl.so -&gt; libcurl.so.4.4.0*
  lrwxrwxrwx  1 root root     16 Apr 25 12:34 libcurl.so.4 -&gt; libcurl.so.4.4.0*
  -rwxr-xr-x  1 root root 376889 Apr 25 12:34 libcurl.so.4.4.0*
  </code></pre>
  
  <p>and under <b>/usr/lib/x86_64-linux-gnu</b></p>
  
  <pre><code>lrwxrwxrwx   1 root root       19 Jan 26 20:05 libcurl-gnutls.so.3 -&gt; libcurl-gnutls.so.4
  lrwxrwxrwx   1 root root       23 Jan 26 20:05 libcurl-gnutls.so.4 -&gt; libcurl-gnutls.so.4.3.0
  -rw-r--r--   1 root root   401512 Jan 26 20:05 libcurl-gnutls.so.4.3.0
  lrwxrwxrwx   1 root root       12 Jan 26 20:05 libcurl.so.3 -&gt; libcurl.so.4
  lrwxrwxrwx   1 root root       16 Jan 26 20:05 libcurl.so.4 -&gt; libcurl.so.4.3.0
  -rw-r--r--   1 root root   422696 Jan 26 20:05 libcurl.so.4.3.0
  </code></pre>
  
  <p>So the latest lib which I've installed yesterday is under /usr/local/lib, but it loads the one from the VPN client.</p>