Bugs item #3446041, was opened at 2011-11-30 05:08
Message generated for change (Comment added) made by bagder
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: Pending
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: Daniel Stenberg (bagder)
Date: 2011-12-05 10:41
Message:
Thanks for reporting this issue and helping us improve curl and libcurl.
We're awaiting feedback in this issue. Due to this, I have set the state of
this issue to pending and it will automatically get closed later on unless
we get further info.
Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Date: 2011-11-30 12:07
Message:
"checking run-time libs availability... failed"
Have you ensured that your zlib is available at run-time? You haven't given
any indication that you've set LD_LIBRARY_PATH or edited /etc/ld.so.conf
----------------------------------------------------------------------
Comment By: FEV (fevfev)
Date: 2011-11-30 10:45
Message:
Some more info: If i return old libz.a to /usr/bin then curl --version show
me old libz.a version from this point i can say that configure dont correct
get path for shared lib of Zlib (/usr/local/zlib-1.2.5) from option
--with=zlib
----------------------------------------------------------------------
Comment By: FEV (fevfev)
Date: 2011-11-30 10:33
Message:
Sorry. Yes, I am not restrained a bit.
Which additional info you need? Tell me i try give it to you.
I dunno what additional info i must post for describe problem.
At this point i can just say if /usr/lib dont contain libz.* files
configure with option --with-zlib(=/usr/local/zlib-1.2.5) FAILED. So
something wrong in configure for getting right path
(/usr/local/zlib-1.2.5/lib /usr/local/zlib-1.2.5/include) from option.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Date: 2011-11-30 10:15
Message:
First, drop that crappy attitude. We're volunteers here and we have no
obligation what so ever to help anyone. We do it on our own spare times.
Then if you want to actually report a bug, then please be a lot more
verbose and describe exactly what happens when it fails and possibly
include the associated excerpt from config.log showing the relevant test.
----------------------------------------------------------------------
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-12-05