cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Installation Question

From: Brian Dessent <brian_at_dessent.net>
Date: Wed, 13 Jun 2007 22:30:50 -0700

Jeff Pohlmeyer wrote:

> Or (probably not the recommended approach) you could try to
> "fake" ferret into believing you had the right curl version:
>
> mkdir ~/old-curl
> ln -s /usr/lib/libcurl.so.3 ~/old-curl/libcurl.so.2
> export LD_LIBRARY_PATH=~/old-curl:$LD_LIBRARY_PATH
> ferret_v602

Oh god no. Please don't do that. Don't force the square peg in the
round hole. Libraries are versioned for a reason! This will cause
crashes or random failures.

> Still another approach would be to place a "real" copy of libcurl.so.2
> in the ~/old-curl instead of just sym-linking to libcurl.so.3
> You should be able to find an old libcurl.so.2 floating around on the
> web somewhere.

No need to be vague about it. Just download and install the correct
version of libcurl. That it requires libcurl.so.2 simply means that the
app was linked against an older version of libcurl. The ABI bump from 2
to 3 happened with the release of 7.12.0 so that means you need to
install 7.11.x.

Brian
Received on 2007-06-14