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.