cURL / Mailing Lists / curl-library / Single Mail

curl-library

Bug in metalink build

From: Daniel Johnson <daniel.johnson31_at_gmail.com>
Date: Wed, 1 Aug 2012 07:23:53 -0400

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.

Daniel

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