cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl & Openssl

From: jayjwa <jayjwa_at_atr2.ath.cx>
Date: Mon, 31 Jan 2005 06:47:34 -0500

I can't seem to get curl to build with Openssl this time. My last version
didn't have any trouble, but this time it just won't take it. Version
is 7.12.3, on a linux i686 glibc-based ElF system, all Gnu tools,
  (no distro).

/usr/lib/pkgconfig:

openssl.pc:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: 0.9.7e
Requires:
Libs: -L${libdir} -lssl -lcrypto -ldl
Cflags: -I${includedir}

/tmp/curl-7.12.3 # ls /usr/include/openssl 01/31/05- 6:24AM
aes.h crypto.h fips.h obj_mac.h rc5.h tmdiff.h
asn1.h des.h fips_rand.h ocsp.h ripemd.h txt_db.h
asn1_mac.h des_old.h hmac.h opensslconf.h rsa.h ui_compat.h
asn1t.h dh.h idea.h opensslv.h safestack.h ui.h
bio.h dsa.h krb5_asn.h ossl_typ.h sha.h x509.h
blowfish.h dso.h kssl.h pem2.h ssl23.h x509v3.h
bn.h ebcdic.h lhash.h pem.h ssl2.h x509_vfy.h
buffer.h ec.h md2.h pkcs12.h ssl3.h
cast.h engine.h md4.h pkcs7.h ssl.h
comp.h e_os2.h md5.h rand.h stack.h
conf_api.h err.h mdc2.h rc2.h symhacks.h
conf.h evp.h objects.h rc4.h tls1.h

ls /usr/lib/libcry* 01/31/05- 6:24AM
/usr/lib/libcrypt.a /usr/lib/libcrypto.so.0@ /usr/lib/libcrypt.so@
/usr/lib/libcrypto.a /usr/lib/libcrypto.so.0.9.7*
/usr/lib/libcrypto.so@ /usr/lib/libcrypt_p.a

ls /usr/lib/libssl* 01/31/05- 6:25AM
/usr/lib/libssl3.so* /usr/lib/libssl.so@ /usr/lib/libssl.so.0.9.7*
/usr/lib/libssl.a /usr/lib/libssl.so.0@

./configure --prefix=/usr --enable-shared --enable-static --enable-http
--enable-ftp --enable-gopher --enable-file --enable-ldap --enable-dict
--enable-telnet --enable-manual --enable-thread --enable-nonblocking
--disable-ipv6 --enable-ares --enable-verbose --disable-debug
--enable-crypto-auth --enable-cookies --with-gnu-ld
--with-spnego=/usr/local/lib --with-ssl=/usr/lib/libcrypto.a
--with-ca-bundle=/usr/share/curl/curl-ca-bundle.crt
--with-random=/dev/urandom --with-zlib=/usr/lib/libz.a --with-libidn=/usr

I've tried:

--with-ssl=/usr
--with-ssl=/usr/include
--with-ssl=/usr/include/openssl
--with-ssl=/usr/lib
--with-ssl=/usr/lib/libcrypto.a
--with-ssl=/usr/lib/libssl.a

with no success, totally rm -rf'ing the entire directory and re-unpacking
it after each failed try to get it to build with Openssl. (so it would
have a clean re-configure)

OpenSSL> version
OpenSSL 0.9.7e 25 Oct 2004

/tmp/curl-7.12.3 # gcc -dumpversion
3.4.3

glibc is 2.3.4

binutils are binutils-2.15.94.0.2

This is the same Openssl (http:/www.openssl.org/) that I built PHP, Apache,
MySQL, Proftpd, et al with, and they all build no prob. finding openssl.

What does it want to consider my Openssl "worthy"?!

I Google'd and checked some of the past posts, but in the ones I found
the answer was related to something omitted, or another error. I can't
see any error in my Openssl.

I hope this is the right place to bring this up, even though I think it's
more of an autoconf/configure problem, it effects curl directly. I
build about 90% of my own software from source, and I've noticed that
configure seems to be getting worse and worse. Yesterday it told me
I had no X11 display ability...while working IN X11! I fixed that with
a ac_cv value in cache.

This openssl issue didn't response to that. Short of hacking up the
configure script, I'm at a loss here. Any ideas of what I'm missing?

Thanks,
jayjwa

--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Received on 2005-01-31