cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-586056 ] SSL configured even with --without-ssl

From: <noreply_at_sourceforge.net>
Date: Wed, 24 Jul 2002 10:38:04 -0700

Bugs item #586056, was opened at 2002-07-24 10:38
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=586056&group_id=976

Category: compile or build problem
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: SSL configured even with --without-ssl

Initial Comment:
I'm trying to comile curl 7.9.8 without SSL. I did a
'configure --without-ssl' but the finished curl binary
still has libcrypto.so and libssl.so compiled in.

I then edited lib/Makefile to remove all references to
ssluse.c and ssluse.h. I have attached the unifiied
diff(1) file.

I then try to recompile and get the following error:

Undefined first referenced
 symbol in file
Curl_SSLConnect ../lib/.libs/libcurl.so
Curl_SSL_cleanup ../lib/.libs/libcurl.so
Curl_SSL_init ../lib/.libs/libcurl.so
ld: fatal: Symbol referencing errors. No output written
to .libs/curl
*** Error code 1

Even though I have requested SSL not to be used there
are functions that still use it. Some (all?) the
functions are:

    Curl_SSL_Connect:
        Curl_ftp_connect() in lib/ftp.c
        Curl_http_connect() in lib/http.c

    Curl_SSL_cleanup:
        curl_global_cleanup() in lib/easy.c

    Curl_SSL_init:
       curl_global_init() in lib/easy.c

Shouldn't there be an #ifdef statement or something? Or
a flag?

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=586056&group_id=976

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-07-24