ghc link dyld error: initializer in image does not link with libSystem.dylib

Steven Smith steve.t.smith at gmail.com
Fri Sep 25 19:13:14 UTC 2020


We’re trying to upgrade the ghc port to compile and link with MacPorts’s libiconv (at long last).

The good news is that there are configure directives for this that work!

The bad news is that their inclusion creates another link error:

> dyld: initializer in image (/usr/lib/libc++.1.dylib) that does not link with libSystem.dylib

I’ve already tried setting `configure.cxx_stdlib libc++`, without success.

Any help resolving this linker issue would be greatly appreciated.

See https://github.com/macports/macports-ports/pull/8523 <https://github.com/macports/macports-ports/pull/8523>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200925/24429baf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200925/24429baf/attachment-0001.bin>


More information about the macports-dev mailing list