* what are conventions for foreign libraries via guix
@ 2023-11-27 23:56 Daniel Skinner
0 siblings, 0 replies; only message in thread
From: Daniel Skinner @ 2023-11-27 23:56 UTC (permalink / raw)
I'm new to guile/scheme and wanted to play with ffi. I'm using guile
through guix on foreign distro and strictly only interested in libraries
installed via guix; what's the recommended way to load .so files?
For example, if I install guile and glfw via guix and attempt to use
foreign-library-function, then this fails unless I set
LD_LIBRARY_PATH=$LIBRARY_PATH where $LIBRARY_PATH was set by guix profile.
But I want to export something global for login shell which may have mixed
environment (being a foreign distro) for the sake of emacs and geiser so
was looking at GUILE_EXTENSIONS_PATH but it seemed like that's more
appropriate for per project settings that might bundle a compilable
Just wondering what people normally do as I was sort of just expecting
guile via guix to automatically find libs installed via guix.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-27 23:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 23:56 what are conventions for foreign libraries via guix Daniel Skinner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).