Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2794331 ] curl 7.19.5 partially ignores configures --prefix trigger

From: <>
Date: Sat, 23 May 2009 11:59:32 +0000

Bugs item #2794331, was opened at 2009-05-20 13:16
Message generated for change (Comment added) made by bagder
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: wrong behaviour
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Marc Richter (whitewolf_fox)
Assigned to: Daniel Stenberg (bagder)
Summary: curl 7.19.5 partially ignores configures --prefix trigger

Initial Comment:
Hello, when (in curl Version 7.19.5) issuing "./configure --prefix=/usr/local", compile and install the whole thing, curl reports:

#> curl --version
curl: error while loading shared libraries: cannot open shared object file: No such file or directory

This issue is fixed, when setting a symlink, pointing from /usr/lib/ to /usr/local/lib/ :

#> ln -s /usr/local/lib/ /usr/lib/
#> curl --version
curl 7.19.5 (i686-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8a zlib/1.2.3 libidn/0.6.0
Protocols: tftp ftp telnet dict http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz

Because we tell curl with --prefix=/usr/local , that it shall work inside /usr/local (where this file exists), I think it's a bug, that it _only_ looks for inside /usr/lib !


>Comment By: Daniel Stenberg (bagder)
Date: 2009-05-23 13:59

This is not a bug. The configure script and make install only makes the
install happen in the right dir, you still need to possible fix ldconfig or
what your OS uses to have the run-time find the right libcurl dir.


You can respond by visiting:
Received on 2009-05-23

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET