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



Reply via email to