[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FFI on OS X?
From: |
Hans Aberg |
Subject: |
Re: FFI on OS X? |
Date: |
Wed, 2 Mar 2011 21:23:43 +0100 |
On 2 Mar 2011, at 21:07, Michael Ellis wrote:
> Trying to follow the examples in section 6.20.6 in the manual I get
> the following.
>
> scheme@(guile-user)> (define libm (dynamic-link "/usr/lib/libm.dylib"))
> ERROR: In procedure dynamic-link: file: "/usr/lib/libm.dylib",
> message: "file not found"
...
> What am I doing wrong?
Guile, or what it uses to load libraries, assumes that a dynamic library ends
in something else than ".dylib". Make a soft link ('ln -s') ending in ".so",
and load this instead, and it will work.
Hans
- FFI on OS X?, Michael Ellis, 2011/03/02
- Re: FFI on OS X?,
Hans Aberg <=
- Re: FFI on OS X?, Andy Wingo, 2011/03/02
- Re: FFI on OS X?, Hans Aberg, 2011/03/02
- Re: FFI on OS X?, Andy Wingo, 2011/03/03
- Re: FFI on OS X?, Hans Aberg, 2011/03/03
- Re: FFI on OS X?, Andreas Rottmann, 2011/03/03
- Re: FFI on OS X?, Michael Ellis, 2011/03/03
- Re: FFI on OS X?, Andy Wingo, 2011/03/03