cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bug in metalink build

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 1 Aug 2012 23:47:08 +0200 (CEST)

On Wed, 1 Aug 2012, Daniel Johnson 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 (I'm using OpenSSL) to
> LIBMETALINK_LIBS in src/Makefile and it now builds. The real fix is to add
> the appropriate crypto lib to LIBMETALINK_LIBS in configure.

Please note that metalink is used by curl, not libcurl, so I've forwarded your
email to the curl-users list and I'd prefer to continue this thread there.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-01