curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Question: Upgrading from curl 7.19.7

From: Dan Fandrich via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 3 Feb 2022 11:06:00 -0800

On Thu, Feb 03, 2022 at 05:59:26PM +0000, FL AA via curl-users wrote:
> I am running on an extremely old Linux server. Is it possible to upgrade curl
> version 7.19.7? If so, could you please explain how? Below are my details.

There hasn't been a SONAME bump since then, so theoretically, you can. But,
there may be subtle differences in behaviour that the 12-year-old programs
linked to that old libcurl version won't react well to, so you risk some system
instability by replacing your system libcurl. I would instead suggest you place
a new version of libcurl in /usr/local/ that won't conflict with the installed
version, then compile whatever program that you want to use the newer version
against that one instead. Alternately, you can test an existing program with
the newer libcurl in /usr/local/ by running it like
"LD_LIBRARY_PATH=/usr/local/lib program-to-test".

The instructions for building curl are in docs/INSTALL.md. The quick version
is:

cd /tmp && curl -O https://curl.se/download/curl-7.81.0.tar.gz && tar xzf curl-7.81.0.tar.gz && cd curl-7.81.0 && ./configure --with-openssl && make -j4 && sudo make install

but you'll probably want more options in the ./configure part to match the
existing OpenSuSE version. You'll also need all the prerequisites for compiling
installed.

Dan
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-03