Hi,

Michael Ellis <[email protected]> writes:

> 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"

You should omit the extension, which will be automatically inferred by
Guile (actually ltdl) depending on the system:

  (dynamic-link "/usr/lib/libm")

or:

  (dynamic-link "libm")

Thanks,
Ludo’.

Reply via email to