[CLN-list] Symbol Not Found OS X 10.9.3

Andrew Austin andrewaclt at gmail.com
Thu Jun 12 17:16:40 CEST 2014


I get the following error on OS X 10.9.3 with CLN (installed via homebrew):

dyld: lazy symbol binding failed: Symbol not found:
__ZN3cln14print_rationalERSoRKNS_14cl_print_flagsERKNS_5cl_RAE
  Referenced from:
/Users/aaustin/code/question/node_modules/jinac/build/Release/rationalnumber.node
  Expected in: dynamic lookup

dyld: Symbol not found:
__ZN3cln14print_rationalERSoRKNS_14cl_print_flagsERKNS_5cl_RAE
  Referenced from:
/Users/aaustin/code/question/node_modules/jinac/build/Release/rationalnumber.node
  Expected in: dynamic lookup

This symbol is found and works properly under OS X 10.8.5.

Unmangled, this symbol is:

*cln::print_rational(std::ostream&, cln::cl_print_flags const&, cln::cl_RA
const&)*

Everything looks to be linked correctly:

otool -L rationalnumber.node
> rationalnumber.node:
> /usr/local/lib/libcln.6.dylib (compatibility version 7.0.0, current
> version 7.3.0)
> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
> 60.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 1197.1.1)
> /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
> 2577.0.0)


g++ on 10.8.5:

g++ --version
> i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.11.00)

g++ on under 10.9.3:

> g++ --version
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer//usr
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> Target: x86_64-apple-darwin13.2.0
> Thread model: posix

Any help would be most appreciated!

-- 
http://andrew-austin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20140612/f41f10a2/attachment.html>


More information about the CLN-list mailing list