[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error: ("primitive-load-path" "Unable to find file ~S in load path"

From: Matt Wette
Subject: Re: Error: ("primitive-load-path" "Unable to find file ~S in load path" ("ice-9/boot-9") #f)Abort
Date: Fri, 20 Mar 2020 05:40:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

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?


$ /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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]