* Missing .so for guile-aiscm
@ 2022-12-31 0:29 Jonathan Frederickson
2022-12-31 4:40 ` jonathan
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Frederickson @ 2022-12-31 0:29 UTC (permalink / raw)
To: help-guix
Hi all - I'm trying out OpenCV via AIscm in Guix using the guile-aiscm
package, and I'm having some trouble. When I attempt to load one of the
AIscm modules, I get an error about a missing native library:
#+begin_src
jfred@lambdacrypt ~$ guix shell guile guile-aiscm
hint: Consider passing the `--check' option once to make sure your shell does not clobber environment
variables.
bash: alias: -p: not found
jfred@lambdacrypt ~ [env]$ guile
GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (use-modules (aiscm image))
While compiling expression:
In procedure dlopen: file "libguile-aiscm-util.so", message
"libguile-aiscm-util.so: cannot open shared object file: No such file or
directory"
#+end_src
I've just updated to the latest Guix revision as of now with the same
result, so it looks like it's not something that was broken in a
previous revision and since fixed.
It seems like installing the library into this temporary shell may not
have installed its native components or something? I feel like I must be
doing something wrong here. Any help would be much appreciated!
--
Jonathan Frederickson
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Missing .so for guile-aiscm
2022-12-31 0:29 Missing .so for guile-aiscm Jonathan Frederickson
@ 2022-12-31 4:40 ` jonathan
0 siblings, 0 replies; 2+ messages in thread
From: jonathan @ 2022-12-31 4:40 UTC (permalink / raw)
To: help-guix
Ah, hmm - so I think I partly figured out why. (At least, enough to move
forward with what I'm trying to do.) The Guile package in Guix isn't
configured to look in GUILE_EXTENSIONS_PATH for native extensions. I
managed to work around this by doing this in a manifest for my project:
#+begin_src scheme
(define-public guile-search
(package
(inherit guile-3.0)
(native-search-paths
(list (search-path-specification
(variable "GUILE_EXTENSIONS_PATH")
(files (list "lib/guile/3.0/extensions")))))))
#+end_src
That said... is there a reason the Guile package doesn't already look
here by default?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-31 4:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-31 0:29 Missing .so for guile-aiscm Jonathan Frederickson
2022-12-31 4:40 ` jonathan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.