curl-users
Compiling without SSL
Date: Mon, 13 Oct 2008 10:24:17 -0500
Hello all,
I recently compiled Curl 7.19 on a Redhat Enterprise 4 server (Test
server) and it seemed to have compiled correctly.
curl --version
curl 7.19.0 (i686-pc-linux-gnu) libcurl/7.19.0 OpenSSL/0.9.7a
zlib/1.2.1.2 libidn/0.5.6
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz
I then compiled the same version on our production server (same OS) and
get this.
curl --version
curl 7.19.0 (i686-pc-linux-gnu) libcurl/7.19.0
Protocols: tftp ftp telnet dict http file
Features: Largefile
It appears that Curl did not compile with SSL support and other
supported libraries and I don't know why.
Here is an excerpt from the config.log that give some info for SSL
support. I would have sent the entire log but it was very large.
| #include <libssh2.h>
configure:31443: result: no
configure:31476: checking for libssh2.h
configure:31484: result: no
configure:31930: WARNING: SSL disabled, you will not be able to use
HTTPS, FTPS, NTLM and more.
configure:31932: WARNING: Use --with-ssl, --with-gnutls or --with-nss to
address this.
configure:31943: checking default CA cert bundle/path
configure:32034: result: /usr/share/ssl/certs/ca-bundle.crt
configure:32052: checking whether to build with libidn
configure:32066: result: yes
configure:32158: checking for idna_to_ascii_lz in -lidn
configure:32193: gcc -o conftest -g -O2 conftest.c -lidn -lrt -lz >&5
configure:32199: $? = 0
configure:32217: result: yes
configure:32242: checking for idn_free
configure:32298: gcc -o conftest -g -O2 conftest.c -lidn -lrt -lz >&5
configure:32304: $? = 0
I read the instructions for installing curl it states to find your
openssl installation path and compile it with the appropriate option. I
cannot find where openssl is installed since it was an RPM. I am also
not sure why the test box compiled fine and prod failed. Any help would
surely be appreciated.
Thanks.
Al Gallegos | Data Services Engineer
Mesirow Financial Inc. | 321 North Clark Street, Chicago IL 60610
Desk 312.595.7072 | Fax 312.595.6901
www.mesirowfinancial.com
Visit us on the Web at: http://www.mesirowfinancial.com
This communication may contain privileged and/or confidential
information. It
is intended solely for the use of the addressee. If you are not the
intended
recipient, you are strictly prohibited from disclosing, copying,
distributing
or using any of this information. If you received this communication in
error,
please contact the sender immediately and destroy the material in its
entirety,
whether electronic or hard copy. Confidential, proprietary or
time-sensitive
communications should not be transmitted via the Internet, as there can
be no
assurance of actual or timely delivery, receipt and/or confidentiality.
This
is not an offer, or solicitation of any offer to buy or sell any
security, investment
or other product.
Please consider the environment before printing this e-mail.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-10-13