Problem loading a dylib file through LOAD-FOREIGN-FUNCTION

Luís Oliveira loliveira at common-lisp.net
Sun Aug 25 14:53:59 UTC 2013


On Sun, Aug 25, 2013 at 3:34 PM, Robert P. Goldman <rpgoldman at sift.info> wrote:
> $ file /usr/local/lib/libsmvgrammar.0.dylib
> /usr/local/lib/libsmvgrammar.0.dylib: Mach-O universal binary with 1
> architecture: [x86_64: Mach-O 64-bit x86_64 dSYM companion file]

This description doesn't look right. The dylibs on my system look like this:

$ file libtest.dylib
libtest.dylib: Mach-O 64-bit dynamically linked shared library x86_64

Perhaps the project you're compiling should be passing -dynamiclib to
gcc but isn't?

-- 
Luís Oliveira
http://kerno.org/~luis/



More information about the cffi-devel mailing list