[LLVMdev] GCC frontend binaries + Darwin10 (Mac OS X)

Nico listiges at arcor.de
Sat Dec 5 13:27:37 PST 2009


if I want to use 'llvm-gcc' I get:

dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /Users/me/llvm/gcc/bin/llvm-gcc
  Reason: Incompatible library version: llvm-gcc requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
Trace/BPT trap

So I installed MacPorts and 'libiconv', but I get the same error message. But it _should_ work, because

otool -L /opt/local/lib/libiconv.2.dylib

gives me:

	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0)

Any hint what went wrong?

Thanks a lot,

More information about the llvm-dev mailing list