<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is 10.8, not mavericks.<div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">-gideon</span>

</div>
<br><div><div>On Nov 26, 2013, at 7:42 PM, Ryan Schmidt &lt;<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>On Nov 26, 2013, at 09:10, Gideon Simpson wrote:<br><br><blockquote type="cite">I'm trying to compile something using the macports openmpi (built on macports gcc48), and am getting the following linking error:<br><br>openmpicxx -I/Users/gideon/software/sprng4.4/include -o sprng_mpi sprng_mpi.cpp &nbsp;-L/Users/gideon/software/sprng4.4/lib -lsprng &nbsp;-I/opt/local/include/openmpi -L/opt/local/lib -lmpi_cxx -lmpi<br>Undefined symbols for architecture x86_64:<br> "std::ctype&lt;char&gt;::_M_widen_init() const", referenced from:<br> &nbsp;&nbsp;&nbsp;&nbsp;mult_48_32(int*, int*, int*) in libsprng.a(libsprng_a-lcg.o)<br> &nbsp;&nbsp;&nbsp;&nbsp;operator&lt;&lt;(std::ostream&amp;, BigNum const&amp;) in libsprng.a(libsprng_a-bignum.o)<br>ld: symbol(s) not found for architecture x86_64<br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>make: *** [sprng_mpi] Error 1<br><br>This is using a library called SPRNG (<a href="http://www.sprng.org">http://www.sprng.org</a>), which I built on the macports gcc 48.<br><br>Going through the listserv archives, there was something about this over 2 yeas ago, but it was unclear to me how/if it was resolved.<br></blockquote><br>What version of OSX? If Mavericks, you may be having the problem that you cannot mix software compiled with libc++ (i.e. anything compiled with clang) with software compiled with libstdc++ (i.e. anything compiled with FSF GCC).<br><br></blockquote></div><br></div></body></html>