[erlang-bugs] Mac OS X dyld chokes on libei.a

Markus Ingvarsson markus.ingvarsson@REDACTED
Fri Aug 3 23:22:37 CEST 2007


I'm not sure if this is a bug in libei or OpenMCL[1].

When I try to dynamically load libei.a in OpenMCL (through CFFI[2]), I
get this error:
Error opening shared library
"/usr/local/lib/erlang/lib/erl_interface-3.5.5.3/lib/libei.a": dyld:
/Users/markus/openmcl/ccl/dppccl malformed library:
/usr/local/lib/erlang/lib/erl_interface-3.5.5.3/lib/libei.a (not a
Mach-O file, bad magic number)

According to Google, this error means the library is not properly built.

I have Mac OS X 10.3, Erlang/OTP R11B-5 (built from source), and OpenMCL 1.0.

[1] http://openmcl.clozure.com/
[2] http://common-lisp.net/project/cffi/

-- 
Markus Ingvarsson
0DF2 D731 70D8 50BC 7CF7  16E8 4FFB 6486 25A6 6AC9



More information about the erlang-bugs mailing list