<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">We’re trying to upgrade the ghc port to compile and link with MacPorts’s libiconv (at long last).<div class=""><br class=""></div><div class="">The good news is that there are configure directives for this that work!</div><div class=""><br class=""></div><div class="">The bad news is that their inclusion creates another link error:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 11.899998664855957px; margin-top: 0px; margin-bottom: 16px; word-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: rgb(246, 248, 250); border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46);" class=""><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; padding: 0px; margin: 0px; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;" class="">dyld: initializer in image (/usr/lib/libc++.1.dylib) that does not link with libSystem.dylib</code></pre></blockquote><div class=""><br class=""></div></div><div class="">I’ve already tried setting `configure.cxx_stdlib libc++`, without success.</div><div class=""><br class=""></div><div class="">Any help resolving this linker issue would be greatly appreciated.</div><div class=""><br class=""></div><div class="">See <a href="https://github.com/macports/macports-ports/pull/8523" class="">https://github.com/macports/macports-ports/pull/8523</a></div><div class=""><br class=""></div></body></html>