On 3/19/20 8:43 PM, Nicholas Papadonis wrote:
I recently compiled guile from GitHub. This error is encountered. Does
anyone know how to resolve this and invoke Guile?
Thanks
$ /usr/local/bin/guile
Pre-boot error; key: misc-error, args: ("primitive-load-path" "Unable to
find file ~S in load path" ("ice-9/boot-9") #f)Abor
The message is saying that Guile can't load the module ice-9/boot.
That is bad news, saying that Guile does not have the correct load-path.
First, this could happen if you did not configure with --prefix=/usr/local?
I have also run into this often when I have multiple versions of Guile
installed on the same system. I don't know why this happens. My
GUILE_LOAD_PATH does not reflect anything outside home directory.
LD_LIBRARY_PATH is blank. For example, I have guile-3 installed in
/opt/local/bin. This is Ubuntu 18.04, with guile-2 installed in /usr/bin.
"which guile" returns /opt/local/bin/guile. Look at this:
mwette$ /usr/bin/guile
Uncaught exception:
Throw to key misc-error with args ("primitive-load-path" "Unable to find
file ~S in load path" ("ice-9/boot-9") #f)
Matt