<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; "><br>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>&nbsp;"std::ctype&lt;char&gt;::_M_widen_init() const", referenced from:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mult_48_32(int*, int*, int*) in libsprng.a(libsprng_a-lcg.o)<br>&nbsp;&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><br>-gideon<br><br><br></body></html>