You are not logged in.

#1 2016-06-08 17:46:26

bl4ck5un
Member
Registered: 2015-01-28
Posts: 16

libcurl compatibility issue: is downgrading libcurl the only way?

Hi,

I'm using a piece of closed-source software that only works with an older version of libcurl. I installed libcurl-compat (which results in a libcurl.so.3) from AUR but the problematic software is still using libcurl.so.4 (to which libcurl.so is syslinked). Since I don't have the source code and can't recompile it, the only option (to me) is to downgrade the libcurl. But this is bad. So I'm wondering if there is a workaround. If the worst comes to worst, is it possible to downgrade libcurl gracefully? Many critical packages, such as pacman, require libcurl.

Many thanks for your help.
Fan

Offline

#2 2016-06-08 17:58:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: libcurl compatibility issue: is downgrading libcurl the only way?

Just use LD_PRELOAD to specify the old libcurl:

LD_PRELOAD=/path/to/libcurl.so.3 YourClosedProgram

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB