cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1871649 ] problem compiling curl-7.17.1 with openssl-0.9.8g by source

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 14 Jan 2008 16:54:40 -0800

Bugs item #1871649, was opened at 2008-01-14 16:37
Message generated for change (Comment added) made by dfandrich
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1871649&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: None
Priority: 5
Private: No
Submitted By: pierregrand (pierregrand)
Assigned to: Daniel Stenberg (bagder)
Summary: problem compiling curl-7.17.1 with openssl-0.9.8g by source

Initial Comment:
Hi,

I have a new clean system running Centos 5 (minimal install - nothing except the compilers).

uname -a:

Linux localhost.localdomain 2.6.18-8.1.15.el5 #1 SMP Mon Oct 22 08:32:04 EDT 2007 i686 i686 i386 GNU/Linux

I then installed openssl-0.9.8g from source:

cd openssl-0.9.8g
./config --openssldir=/usr/local/ssl
make; make install

I then attempted to install curl-7.17.1:

cd curl-7.17.1
./configure --disable-ipv6 --with-ssl=/usr/local/ssl;

Here's the error message:

checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support ldaps... no
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to provide built-in manual... yes
checking for icc in use... no
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for connect... yes
checking whether to use libgcc... no
checking for lber.h... no
checking for ldap.h... no
checking for ldapssl.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... cannot find LDAP libraries
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
checking for timeGetTime in winmm... no
checking whether to enable ipv6... no
checking non-blocking sockets style... O_NONBLOCK
checking if argv can be written to... yes
checking if Kerberos4 support is requested... no
checking if SPNEGO support is requested... no
checking if GSSAPI support is requested... no
checking for gdi32... no
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_connect in -lssl... no
checking for ssl with RSAglue/rsaref libs in use... checking for SSL_connect in -lssl... (cached) no
no
configure: error: OpenSSL libs and/or directories were not found where specified!

I also attempted to add /usr/local/ssl/lib and /usr/local/ssl/include in the file /etc/ld.so.conf and running ldconfig - didn't do anything.

I also attempted to compile using:

CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" \
./configure --disable-ipv6 --with-ssl=/usr/local/ssl;

Same problem. Is this a known issue?

Thanks,

Pierre G

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

>Comment By: Dan Fandrich (dfandrich)
Date: 2008-01-14 16:54

Message:
Logged In: YES
user_id=236775
Originator: NO

Are the files installed in /usr/local/ssl similar to the ones installed in
/usr/local/ssl-0-9-7? Can you post the relevant parts of the OpenSSL
checking output of config.log for the failing case?

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

Comment By: pierregrand (pierregrand)
Date: 2008-01-14 16:42

Message:
Logged In: YES
user_id=1981607
Originator: YES

I'd like to add that when I do the following on the SAME system, the
compile works with openssl version 0.9.7. So this should help to confirm
that I didn't do anything wrong.

I downloaded openssl-0.9.7m.tar.gz
cd openssl-0.9.7m
./config --openssldir=/usr/local/ssl-0-9-7
make; make install

./configure --disable-ipv6 --with-ssl=/usr/local/ssl-0-9-7/;
make; make install

No problem with the configure and the make & make install

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1871649&group_id=976
Received on 2008-01-15

These mail archives are generated by hypermail.

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

File upload with ASP.NET