bug-guile
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]