cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

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: SourceForge.net <noreply_at_sourceforge.net>
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:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2794331&group_id=976

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: libcurl.so.4: cannot open shared object file: No such file or directory

This issue is fixed, when setting a symlink, pointing from /usr/lib/libcurl.so.4 to /usr/local/lib/libcurl.so.4.1.1 :

#> ln -s /usr/local/lib/libcurl.so.4.1.1 /usr/lib/libcurl.so.4
#> 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 libcurl.so.4 inside /usr/lib !

----------------------------------------------------------------------

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

Message:
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 ld.so find the right libcurl dir.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2794331&group_id=976
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