From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user 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 Message-ID: <08fa0de6-3ffe-181b-1fc5-0282627aaff4@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="82524"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Mar 20 13:41:20 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jFGxk-000LOE-8P for guile-user@m.gmane-mx.org; Fri, 20 Mar 2020 13:41:20 +0100 Original-Received: from localhost ([::1]:52536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFGxj-0007Ej-0i for guile-user@m.gmane-mx.org; Fri, 20 Mar 2020 08:41:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33665) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFGxV-0007EK-VC for guile-user@gnu.org; Fri, 20 Mar 2020 08:41:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFGxU-0002hg-CH for guile-user@gnu.org; Fri, 20 Mar 2020 08:41:05 -0400 Original-Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:39561) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFGxT-0002fy-Kt for guile-user@gnu.org; Fri, 20 Mar 2020 08:41:04 -0400 Original-Received: by mail-pf1-x42c.google.com with SMTP id d25so3159668pfn.6 for ; Fri, 20 Mar 2020 05:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=q+EWJJc8Vrz03J8gwC1pYyVDuHsqIn/m4d3HGRePHFg=; b=eFNpdgw5eygJqPOZdXCItj3vahBTCF+Qtk7Sp1CaJeK6iZ+x1VZU+H/eIJkcb7gPc+ URiMSBGCmpKt1knCS45TN7NTApEjgzHErHEmfcuyRG6Q8Vh0bdA+bGaYRwuP/McbOJzC sx0Lq1ji2Lh167w7PtvXS4om4ZgNsP6TVecQqTVPfXGeAVXIELwIU1dclPQdIoPenGkg 1e6BN+NGgntotNWorb/rD9Dg8SW+6rAd+t1EDm6ZHRYfjFyfHnY34JwcM3h4ys3vaY82 qC6eK/JhR6ijtf/2nLz0sxXmZOSt6k1utCqwEnwnXCDZsMpliGxhjHh9RL1QsF5Ghc+/ X0Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=q+EWJJc8Vrz03J8gwC1pYyVDuHsqIn/m4d3HGRePHFg=; b=Wv/7UwgzOzpwaz5lRUDzHtZ/AkhgKq2FZdTze/B2Bg6xvptJJP4pOKsSZSDo1IbiRf NwtFjhY8eYcMVQo/85HytxU35c57g0qMhMfy7i+RJoPVBfwvtDmF5B1aCk02BioYdcnQ pUJbfb2G8WFPW63XqSAv20f6xltwFmiVcUZ9t63mJqMXoktIPqshn/3nQe5y/hZXGbbQ /ec/JLKz0C6KFoa4x0Oz6Mi2ssNnkHui1QR1zX6t6HaMCM+mZSbWhBvReTjabD4lfc/6 I66lWxdX90Iko8oY5p5cbT/7ZGNudlw9XEcUX72/U7m2s8NIxrfXIq/hJDRbP8DVF/Cm DBZw== X-Gm-Message-State: ANhLgQ29W3YIRuv9rxILVEIzPhAiWmVDZU0hdt9kVscnTK0KL3wt9Dov mPw+QKZkRyzrLgiiKBl1ril28kYE X-Google-Smtp-Source: ADFU+vtbSHO6HGO7GnY9gAi5mtPnQhKigloQx3F2mDNYP3VsFRpEBq/uRQ/QgzH6MgrSmswJ+2DMSg== X-Received: by 2002:a63:f54d:: with SMTP id e13mr5752207pgk.157.1584708060573; Fri, 20 Mar 2020 05:41:00 -0700 (PDT) Original-Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id y123sm5451646pfb.13.2020.03.20.05.40.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Mar 2020 05:40:59 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42c X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16332 Archived-At: 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