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

Steven Smith steve.t.smith at
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 <>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <>

More information about the macports-dev mailing list