curl
also uses libcurl
, so you need both. Place it into /usr/local/bin
and /usr/local/lib
respectively to not mess with the system package.
Best actually is to compile it from source: build and install curl from source
make install
will install everything correctly.