port install hs-zlib fails

Brandon Allbery allbery.b at gmail.com
Tue Mar 24 21:46:11 PDT 2015


On Wed, Mar 25, 2015 at 12:41 AM, Mike <siwelekim at gmail.com> wrote:

> Undefined symbols for architecture x86_64:
>   "_libiconv", referenced from:
>

This is typical of linking against the wrong iconv library; Apple ships an
ancient one, so both MacPorts and Homebrew ship modern ones which most
things (notably including glib) require. But both rename symbols, because
otherwise something which compiles against the newer one but links against
the old one will link fine and then dump core on the first call to an iconv
function.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150325/5d4e5a1b/attachment.html>


More information about the macports-users mailing list