cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Bug in metalink build (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Aug 2012 15:22:12 +0200 (CEST)

On Thu, 2 Aug 2012, Tatsuhiro Tsujikawa wrote:

>> When building curl 7.27.0 on Mac OS X and metalink enabled, linking the curl
>> tool failed with unresolved symbol errors. When using metalink, curl needs
>> to link to a crypto library to access the hash functions but doesn't when
>> linking. As a quick hack, I added -lcrypto
>
> This may be related: http://curl.haxx.se/mail/archive-2012-08/0002.html
>
> What is the link command-line when you got unresolved symbol errors?

I don't think it is related. The problem is rather that the metalink code in
curl now wrongly assumes OpenSSL or gcrypt to be present in the build and if
neither is there the build will fail.

I'm not sure what the best fix for this is...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-07