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"
The same library can be loaded and its functions are available with
python ctypes, e.g.
>>> libm=CDLL("/usr/lib/libm.dylib")
>>> libm
<CDLL '/usr/lib/libm.dylib', handle 7fff5fc43d68 at 1004dfc50>
>>> libm.j0
<_FuncPtr object at 0x100599d50>
What am I doing wrong?
Thanks,
Mike