cURL / Mailing Lists / curl-users / Single Mail

curl-users

Build problems with Curl/SSL

From: Atlee Gordy <agordy_at_vention.com>
Date: Tue, 16 May 2000 16:05:40 -0500

I'm encountering the problem previously mentioned in the list archives about ssl
support being disabled in curl. This is a RedHat 6.0 on a Sparc, with autoconf
2.13, curl 6.5.2, and openssl 0.94 (installed from RPM in /usr).

The configure line:
CPPFLAGS=-I/usr/include/openssl LDFLAGS=-L/usr/lib/ssl/lib ./configure
--with-ssl=/usr

complains like so:
checking where to look for SSL... /usr
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking for openssl/x509.h... no
checking for openssl/rsa.h... yes
checking for openssl/crypto.h... yes
checking for openssl/pem.h... no
checking for openssl/ssl.h... no
checking for openssl/err.h... yes

The relevant config.log snippet is below. I've tried adding /usr/lib/ssl/lib
to /etc/ld.so.conf and running ldconfig, with absolutely no luck. Any ideas?

Atlee

configure:1701: checking where to look for SSL
configure:1713: checking for CRYPTO_lock in -lcrypto
configure:1732: gcc -o conftest -g -O2 -I/usr/include/openssl -I/usr/include/openssl -I/usr/include -L/usr/lib/ssl conftest.c -lcrypto -ldl -L/usr/lib 1>&5
configure:1762: checking for SSL_connect in -lssl
configure:1781: gcc -o conftest -g -O2 -I/usr/include/openssl -I/usr/include/openssl -I/usr/include -L/usr/lib/ssl conftest.c -lssl -lcrypto -ldl -L/usr/lib 1>&5
configure:1813: checking for openssl/x509.h
configure:1823: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/openssl/x509.h:87,
                 from configure:1819:
/usr/include/openssl/evp.h:88: openssl/rc5.h: No such file or directory
configure: failed program was:
#line 1818 "configure"
#include "confdefs.h"
#include <openssl/x509.h>
configure:1813: checking for openssl/rsa.h
configure:1823: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:1813: checking for openssl/crypto.h
configure:1823: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:1813: checking for openssl/pem.h
configure:1823: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/openssl/pem.h:66,
                 from configure:1819:
/usr/include/openssl/evp.h:88: openssl/rc5.h: No such file or directory
configure: failed program was:
#line 1818 "configure"
#include "confdefs.h"
#include <openssl/pem.h>
configure:1813: checking for openssl/ssl.h
configure:1823: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/openssl/pem.h:66,
                 from /usr/include/openssl/ssl.h:151,
                 from configure:1819:
/usr/include/openssl/evp.h:88: openssl/rc5.h: No such file or directory
configure: failed program was:
#line 1818 "configure"
#include "confdefs.h"
#include <openssl/ssl.h>
configure:1813: checking for openssl/err.h
configure:1823: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:1855: checking for x509.h
configure:1865: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/openssl/x509.h:87,
                 from configure:1861:
/usr/include/openssl/evp.h:88: openssl/rc5.h: No such file or directory
configure: failed program was:
#line 1860 "configure"
#include "confdefs.h"
#include <x509.h>
configure:1855: checking for rsa.h
configure:1865: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:1855: checking for crypto.h
configure:1865: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:1855: checking for pem.h
configure:1865: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/openssl/pem.h:66,
                 from configure:1861:
/usr/include/openssl/evp.h:88: openssl/rc5.h: No such file or directory
configure: failed program was:
#line 1860 "configure"
#include "confdefs.h"
#include <pem.h>
configure:1855: checking for ssl.h
configure:1865: gcc -E -I/usr/include/openssl -I/usr/include/openssl -I/usr/include conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/openssl/pem.h:66,
                 from /usr/include/openssl/ssl.h:151,
                 from configure:1861:
/usr/include/openssl/evp.h:88: openssl/rc5.h: No such file or directory
configure: failed program was:
#line 1860 "configure"
#include "confdefs.h"
#include <ssl.h>
Received on 2000-05-16