curl-users
Re: curl 7.12.2 compile fail on Mac OS X
Date: Sun, 14 Nov 2004 10:11:44 -0800 (PST)
I'm familiar with the section of code you're talking about that redefines
the symbols based on SSL version. I think I see the problem, but I'm not
sure of the fix. I am definitely linking against 0.9.7e. I compiled it
from scratch and when I configured Curl I used the --with-ssl option to
point to this specific OpenSSL directory. The compile command that fails
shows the correct lib link path. However, the OpenSSL 0.9.7e I compiled is
in a private area I'm linking against. The OpenSSL version that is
actually installed on this machine is 0.9.6e. I can see this if I run
"openssl version". So even though I'm linking correctly the section of
code that redefines these symbols is being set based on the system's
version of OpenSSL. I guess the --with-ssl option doesn't change that.
What is the workaround? Do I have to install the newer version of SSL
centrally on the machine? Or is there some other switch I can invoke so
that the symbols won't get redefined? I will examine the config options
again to see if I missed something. Thanks for your help.
Jim Napier
On Sat, 13 Nov 2004 curl-users-request_at_cool.haxx.se wrote:
> Message: 1
> Date: Sat, 13 Nov 2004 11:27:34 +0100 (CET)
> From: Daniel Stenberg <daniel-curl_at_haxx.se>
> Subject: Re: curl 7.12.2 compile fail on Mac OS X
> To: curl tool talk <curl-users_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.61.0411131125080.12160_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Fri, 12 Nov 2004, Jim Napier wrote:
>
>> On Mac OS X 10.2.3 when building the curl binary and linking against OpenSSL
>> 0.9.7e I get the following error:
>
>> /usr/bin/ld: Undefined symbols:
>> _DES_ecb_encrypt
>> _DES_set_key
>> _DES_set_odd_parity
>
> Make sure that you really have and use a 0.9.7 series of OpenSSL. Those
> symbols should be present in libcrypto.
>
> When libcurl is built to use an older verison of OpenSSL, it redefines those
> symbols to use those that are present in the older versions instead.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
Received on 2004-11-14