Roel Janssen <r...@gnu.org> skribis: > What is the preferred way to include the module file to the package? > Should I create another package with this file alone, and use it as a > propagated input for graphviz?
Could you first submit it upstream? > I now have a graphviz-guile package with a graphviz.scm module file. > > Where should I link/copy/move libgv_guile.so? > > I tried: > $PACKAGE_OUTPUT/lib/ > $PACKAGE_OUTPUT/lib/guile/2.0/ > $PACKAGE_OUTPUT/lib/guile/2.0/extensions/ > > But it seems my system only looks in: > /lib > /gnu/store/...-gcc-4.9.3-lib/lib/ > /gnu/store/...-glibc-2.22/lib/ > /gnu/store/...-guile-2.0.11/lib/ ‘load-extension’ searches for shared objects in the extension directory: --8<---------------cut here---------------start------------->8--- scheme@(guix gexp)> (assoc-ref %guile-build-info 'extensiondir) $14 = "/home/ludo/soft/lib/guile/2.0/extensions" --8<---------------cut here---------------end--------------->8--- … and in whatever ‘LTDL_LIBRARY_PATH’ points to (info "(libtool) Libltdl interface"). HTH! Ludo’.