unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Error running Guile from Guix
@ 2024-11-24 22:44 Zelphir Kaltstahl
  2024-11-24 22:47 ` Error running Guile from Guix (continue) Zelphir Kaltstahl
  0 siblings, 1 reply; 3+ messages in thread
From: Zelphir Kaltstahl @ 2024-11-24 22:44 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

Hello Guile developers!

Today I ran into a problem simply trying to run `guile`.

I have installed Guile in a guix profile:

~~~~
$ guix describe --format=channels
(list (channel
         (name 'guix)
         (url"https://git.savannah.gnu.org/git/guix.git")
         (branch "master")
         (commit
           "4473f8ae902c2192cab6919363a9101ce9861e45")
         (introduction
           (make-channel-introduction
             "9edb3f66fd807b096b48283debdcddccfea34bad"
             (openpgp-fingerprint
               "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))

$ command -v guile
/home/user/.guix-profile/bin/guile
~~~~

-- 
repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl

[-- Attachment #2: Type: text/html, Size: 1213 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error running Guile from Guix (continue)
  2024-11-24 22:44 Error running Guile from Guix Zelphir Kaltstahl
@ 2024-11-24 22:47 ` Zelphir Kaltstahl
  2024-12-03 19:26   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Zelphir Kaltstahl @ 2024-11-24 22:47 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 3003 bytes --]

Sorry, instead of clicking the formatting button, I accidentally clicked "send" 
prematurely. Continuing below.

On 24.11.24 23:44, Zelphir Kaltstahl wrote:
>
> Hello Guile developers!
>
> Today I ran into a problem simply trying to run `guile`.
>
> I have installed Guile in a guix profile:
>
> ~~~~
> $ guix describe --format=channels
> (list (channel
>          (name 'guix)
>          (url"https://git.savannah.gnu.org/git/guix.git")
>          (branch "master")
>          (commit
>            "4473f8ae902c2192cab6919363a9101ce9861e45")
>          (introduction
>            (make-channel-introduction
>              "9edb3f66fd807b096b48283debdcddccfea34bad"
>              (openpgp-fingerprint
>                "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))
>
> $ command -v guile
> /home/user/.guix-profile/bin/guile
> ~~~~

Now, the actual issue:

~~~~
$ guile
Backtrace:
In ice-9/boot-9.scm:
     724:2 19 (call-with-prompt ("prompt") #<procedure 7502cedd3ee0 …> …)
In ice-9/eval.scm:
     619:8 18 (_ #(#(#<directory (guile-user) 7502d9517c80>)))
In unknown file:
           17 (primitive-load "/home/user/.guile")
In ice-9/eval.scm:
    721:20 16 (primitive-eval (import (ice-9 colorized) (ice-9 #)))
In ice-9/psyntax.scm:
   1229:36 15 (expand-top-sequence (#<syntax:.guile:1:0 (import #<s…>) …)
   1221:19 14 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
    259:10 13 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/eval.scm:
    293:34 12 (_ #<directory (guile-user) 7502d9517c80>)
In ice-9/boot-9.scm:
   3327:17 11 (resolve-interface (ice-9 readline) #:select _ #:hide _ …)
In ice-9/threads.scm:
     390:8 10 (_ _)
In ice-9/boot-9.scm:
   3253:13  9 (_)
In ice-9/threads.scm:
     390:8  8 (_ _)
In ice-9/boot-9.scm:
   3544:20  7 (_)
    2836:4  6 (save-module-excursion #<procedure 7502cedecf90 at ice-…>)
   3564:26  5 (_)
In unknown file:
            4 (primitive-load-path "ice-9/readline" #<procedure 7502c…>)
In ice-9/readline.scm:
      44:5  3 (_)
In unknown file:
            2 (load-extension "/gnu/store/28b41sn2yxb4vfgcwqjpc661km…" …)
In system/foreign-library.scm:
    190:25  1 (load-foreign-library _ #:extensions _ # _ #:search-path …)
In unknown file:
            0 (dlopen "/gnu/store/28b41sn2yxb4vfgcwqjpc661kmvhn6da-g…" …)

ERROR: In procedure dlopen:
In procedure dlopen: file "/gnu/store/28b41sn2yxb4vfgcwqjpc661kmvhn6da-guile-readline-3.0.9/lib/guile/3.0/extensions/guile-readline.so", message "/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6: version `GLIBC_2.38' not found (required by /gnu/store/dl3665ynrp41ynyw2ay5kfqix93myj5d-readline-8.1.2/lib/libreadline.so.8)"
~~~~

Do you know what is going wrong?

Seems to me like it is missing some dependency, the readline library.

But I don't know why it would suddenly be missing and not before.

Best regards,
Zelphir

-- 
repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl

[-- Attachment #2: Type: text/html, Size: 3852 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error running Guile from Guix (continue)
  2024-11-24 22:47 ` Error running Guile from Guix (continue) Zelphir Kaltstahl
@ 2024-12-03 19:26   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2024-12-03 19:26 UTC (permalink / raw)
  To: Zelphir Kaltstahl; +Cc: guile-devel

Hi Zelphir,

> ERROR: In procedure dlopen:
> In procedure dlopen: file "/gnu/store/28b41sn2yxb4vfgcwqjpc661kmvhn6da-guile-readline-3.0.9/lib/guile/3.0/extensions/guile-readline.so", message "/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6: version `GLIBC_2.38' not found (required by /gnu/store/dl3665ynrp41ynyw2ay5kfqix93myj5d-readline-8.1.2/lib/libreadline.so.8)"
> ~~~~
>
> Do you know what is going wrong?
>
> Seems to me like it is missing some dependency, the readline library.

It has libreadline.so.8, the Guile bindings, and the C library.  This is
not a case of a missing library.  It rather looks like Guile and Guile
Readline / Readline were linked with different versions of the C
library.

Note the absolute file name of the glibc directory (2.35) and the
expected versioned symbol GLIBC_2.38.  This looks like libreadline.so.8
was linked with a more recent glibc and now finds itself yoked together
with a binary that has already loaded an older glibc.

-- 
Ricardo



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-03 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-24 22:44 Error running Guile from Guix Zelphir Kaltstahl
2024-11-24 22:47 ` Error running Guile from Guix (continue) Zelphir Kaltstahl
2024-12-03 19:26   ` Ricardo Wurmus

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).