curl-users
Re: zlib probs (was: Re: ANNOUNCE: curl and libcurl 7.10.1)
Date: Thu, 17 Oct 2002 08:18:37 +0200 (MET DST)
On Mon, 14 Oct 2002, Bjorn Wiren wrote:
> configure:10603: checking for zlib.h configure:10613: cc -E
> -I/home/etxbwir/openssl/include/openssl -I/home/etxbwir/openssl/include
> conftest.c
> "configure", line 10610: cannot find include file: <zlib.h>
> cc: acomp failed for conftest.c
> configure:10619: $? = 2
> configure: failed program was:
> #line 10609 "configure"
> #include "confdefs.h"
> #include <zlib.h>
> configure:10638: result: no
> ------------------------------------------------------------
>
> So it seems `configure' misses to pick up the zlib path from the
> command line. "egrep 'cc .*zlib' config.log" yields no hit at all.
Check the log just a couple of lines above this zlib.h check, and you'll find
the "checking for inflateEnd in -lz". I suspect configure found zlib in your
default path and thus it didn't try the custom path you passed to it...
> Looking in `config.log', all the configure tests for ssl seem to run
> fine, but when doing make, it stops att this link command:
>
> /usr/ccs/bin/ld -G -z defs -h libcurl.so.2 -o .libs/libcurl.so.2.0.2
> file.lo timeval.lo base64.lo hostip.lo progress.lo formdata.lo cookie.lo
> http.lo sendf.lo ftp.lo url.lo dict.lo if2ip.lo speedcheck.lo getdate.lo
> ldap.lo ssluse.lo version.lo getenv.lo escape.lo mprintf.lo telnet.lo
> getpass.lo netrc.lo getinfo.lo transfer.lo strequal.lo easy.lo security.lo
> krb4.lo memdebug.lo http_chunks.lo strtok.lo connect.lo llist.lo hash.lo
> multi.lo content_encoding.lo -L/home/etxbwir/xemacs/aux/zlib/lib -lz -lssl
> -lcrypto -ldl -lsocket -lnsl -lc
> ld: fatal: library -lssl: not found
> ld: fatal: library -lcrypto: not found
>
> I need to have "-L/home/etxbwir/openssl/lib" along to fix it, which I get
> by saying "LDFLAGS=blabla" in the make command line. During the configure
> stage, "-L/home/etxbwir/openssl/lib" *is* along in all the the `cc
> conftest' runs.
Hm. The SSL test has been working pretty good for a while. Does it work
better if you don't pass any zlib options to configure?
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfmReceived on 2002-10-17