|
From: | Ludovic Courtès |
Subject: | Re: [PATCH] gnu: graphviz: Enable Guile library. |
Date: | Tue, 10 May 2016 15:31:38 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Roel Janssen <address@hidden> 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’.
[Prev in Thread] | Current Thread | [Next in Thread] |