I'm trying to load the Graphviz extension for Guile 2.0. This line of scheme code, suggested by Graphviz's documentation, works in Guile 1.8:
(load-extension "/usr/lib/graphviz/guile/libgv_guile.so" "SWIG_init")
However, it will fail in Guile 2.0 with the following error:
scheme@(guile-user)> (load-extension "/usr/lib/graphviz/guile/libgv_guile.so" "SWIG_init")
ERROR: In procedure load-extension:
ERROR: In procedure dynamic-link: file: "/usr/lib/graphviz/guile/libgv_guile.so", message: "file not found"
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
I've tried using the following alternative paths as well:
/usr/lib/graphviz/guile/libgv_guile
libgv_guile
Same results. How do I do that?