cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3446041 ] Zlib 1.2.5 error under compile cURL 7.23.1

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 30 Nov 2011 09:43:15 -0800

Bugs item #3446041, was opened at 2011-11-30 05:08
Message generated for change (Comment added) made by fevfev
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3446041&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: None
Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: FEV (fevfev)
Assigned to: Daniel Stenberg (bagder)
Summary: Zlib 1.2.5 error under compile cURL 7.23.1

Initial Comment:
I am try different compile command and all time have this strange issue. So i simplify configure command (see below).
System: Linux version 2.6.3 (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110))
Configure command: ./configure --prefix=/usr/local/curl-7.23.1 --without-ssl --with-zlib=/usr/local/zlib-1.2.5
... make ... make install
So what is problem?
/usr/local/curl-7.23.1/bin/curl --version
curl 7.23.1 (i686-pc-linux-gnu) libcurl/7.23.1 zlib/1.2.3
Protocols: dict file ftp gopher http imap ldap ldaps pop3 rtsp smtp telnet tftp
Features: Largefile libz
Where cURL get zlib version 1.2.3???
I am SURE my /usr/ folder dont content any zlib.* files (like headers libs) except /usr/local/zlib-1.2.5
/usr/local/curl-7.23.1/bin/curl-config --libs
-L/usr/local/curl-7.23.1/lib -lcurl -L/usr/local/zlib-1.2.5/lib
/usr/local/curl-7.23.1/bin/curl-config --static-libs
/usr/local/curl-7.23.1/lib/libcurl.a -L/usr/local/zlib-1.2.5/lib -lldap -lz

So can someone comment this problem with version Zlib???

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

>Comment By: FEV (fevfev)
Date: 2011-11-30 09:43

Message:
So ONLY if i put libz,* (v 1.2.5) at /usr/lib cURL can configure and
compile as right way.
And as result of all: configure option --with-zlib (=/usr/local/zlib-1.2.5)
BROKEN!!!
FIX IT because this configure option dont get libs and includes by right
path.

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

Comment By: FEV (fevfev)
Date: 2011-11-30 09:32

Message:
I had found libz.* (v 1.2.3) at /usr/lib and remove it. Try recompile cUrl
by
./configure --prefix=/usr/local/curl-7.23.1 --without-ssl
--with-zlib=/usr/local/zlib-1.2.5
and had error like:
checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available
run-time. Libs used at link-time: -lz
so if i use
./configure --prefix=/usr/local/curl-7.23.1 --without-ssl
all fine/ SO cURL have problems with right Zlib support configuration!

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

Comment By: FEV (fevfev)
Date: 2011-11-30 08:33

Message:
All point to cURL use Zlib library of version 1.2.5
But ./curl --version show us Zlib version 1.2.3
SO WHICH REALLY cURL use Zlib vesrion ??? Because i am definitely known i
dont have zlib ver. 1.2.3. So it look like cURL 7,23,1 have problem at
compiling. Additionally other my compiled programs with support my zlib at
/usr/local/zlib-1.2.5 had show me right zlib version.

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

Comment By: Daniel Stenberg (bagder)
Date: 2011-11-30 08:07

Message:
Please clarify exactly what the bug is you're reporting.

If you just need some assistance to build libcurl, then use the
curl-library mailing list. zlib is called libz.so or libz.a.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3446041&group_id=976
Received on 2011-11-30

These mail archives are generated by hypermail.

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

File upload with ASP.NET