<div dir="ltr"><div>I get the following error on OS X 10.9.3 with CLN (installed via homebrew):</div><div><br></div><div><div>dyld: lazy symbol binding failed: Symbol not found: __ZN3cln14print_rationalERSoRKNS_14cl_print_flagsERKNS_5cl_RAE</div>
<div>  Referenced from: /Users/aaustin/code/question/node_modules/jinac/build/Release/rationalnumber.node</div><div>  Expected in: dynamic lookup</div><div><br></div><div>dyld: Symbol not found: __ZN3cln14print_rationalERSoRKNS_14cl_print_flagsERKNS_5cl_RAE</div>
<div>  Referenced from: /Users/aaustin/code/question/node_modules/jinac/build/Release/rationalnumber.node</div><div>  Expected in: dynamic lookup</div></div><div><br></div><div>This symbol is found and works properly under OS X 10.8.5.</div>
<div><br></div><div>Unmangled, this symbol is:</div><div><b><span style="font-family:arial,sans-serif;font-size:13px">cln::print_rational(std::</span><span style="font-family:arial,sans-serif;font-size:13px">ostream&, cln::cl_print_flags const&, cln::cl_RA const&)</span><br>
</b></div><div><b><span style="font-family:arial,sans-serif;font-size:13px"><br></span></b></div><div><font face="arial, sans-serif">Everything looks to be linked correctly:</font></div><div><font face="arial, sans-serif"><br>
</font></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote">otool -L rationalnumber.node<br>rationalnumber.node:<br>
<span style="white-space:pre-wrap">     </span>/usr/local/lib/libcln.6.dylib (compatibility version 7.0.0, current version 7.3.0)<br><span style="white-space:pre-wrap">    </span>/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)<br>
<span style="white-space:pre-wrap">     </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)<br><span style="white-space:pre-wrap">    </span>/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 2577.0.0)</blockquote>
</div><div><br></div>g++ on 10.8.5:<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">g++ --version<br>
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)</blockquote><div>
<p class="">g++ on under 10.9.3:</p><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">g++ --version<br>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer//usr --with-gxx-include-dir=/usr/include/c++/4.2.1<br>
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)<br>Target: x86_64-apple-darwin13.2.0<br>Thread model: posix</blockquote><p class="">Any help would be most appreciated!</p><p class="">-- <br></p><div><a href="http://andrew-austin.com">http://andrew-austin.com</a>
</div></div></div>