help-guix
[Top][All Lists]
Advanced

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

Re: debian glibc's libX11 depend breaks local profile guix?


From: Simon Tournier
Subject: Re: debian glibc's libX11 depend breaks local profile guix?
Date: Wed, 17 Jul 2024 19:34:37 +0200

Hi,

Sorry for the late reply.  Well, I am not seeing any reply, so in caseā€¦ :-)

On Thu, 20 Jun 2024 at 19:20, "Foran, Will" <foranw@upmc.edu> wrote:
> Hi all! I'm trying to run guix on top of debian stable/bookworm (12.5, 
> libc6=2.36) but am blocked by
>>  error while loading shared libraries: libX11.so.6: cannot open shared 
>> object file: No such file or directory
>
> Currently, I'm only having luck using guix like
>     /usr/bin/guix shell -NC --share=/gnu  --share=/var/guix/ 
> --share=$HOME/.guix-profile  guix nss-certs
>
> I got here afer using the install script and doing a 'guix pull && guix 
> package -u'. Now guix dies before it can do anything!
>
>     guix --help
>       /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper/bin/guile:
>       error while loading shared libraries: libX11.so.6: cannot open shared 
> object file: No such file or directory
>
>
> I suspect glibc version mismatches are causing a problem (guix=2.33;deb 
> libX11@2.34 (?);debian=2.36).
> This is a warning from ldd on guix's version of bash:
>     /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6:
>     version `GLIBC_2.34' not found (required by 
> /lib/x86_64-linux-gnu/libX11.so.6)

Hum, this seems some environment variables incorrectly set.  Maybe try
with a clean shell, for instance run:

        env -i $(which bash) --login --noprofile --norc
        which guix
        guix describe
        source ~/.config/guix/current/etc/profile
        which guix
        guix describe

Do you still have the error?

Cheers,
simon



reply via email to

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