[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 23:15:44 +0100 |
On 2 Mar 2011, at 22:22, Andy Wingo wrote:
> What if you leave off the suffix?
>
> scheme@(guile-user)> (use-modules (system foreign))
> scheme@(guile-user)> (dynamic-link "libm")
> $1 = #<dynamic-object "libm">
That does not work for me.
scheme@(guile-user)> (dynamic-link "libm")
ERROR: In procedure dynamic-link:
ERROR: In procedure dynamic-link: file: "libm", message: "file not found"
> Guile uses libltdl, which does this sort of thing.
Yes, that is the problem, I think. I saw it on the Bessel-function example in
the manual, and reported it before.
- FFI on OS X?, Michael Ellis, 2011/03/02
- Re: FFI on OS X?, Hans Aberg, 2011/03/02
- Re: FFI on OS X?, Andy Wingo, 2011/03/02
- Re: FFI on OS X?,
Hans Aberg <=
- 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