You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to install the nixos multiuser installation and I ran into this error while installing. I don't know how to get the correct version of GLIBC so i don't have this error.
---- sudo execution ------------------------------------------------------------
I am executing:
to load data for the first time in to the Nix Database
/nix/store/6g4fla3vkcxihph282a0v3cd10709y7c-nix-2.9.1/bin/nix-store: /nix/store/nprym6lf8lzhp1irb42lb4vp8069l5rj-glibc-2.32-54/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/lib/libsodium.so.23)
---- oh no! --------------------------------------------------------------------
Jeeze, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.
How do I access LD_PRELOAD and LD_LIBRARY_PATH to sort it out? Im new to linux so I found out these are libraries that load certain things first but have no idea how to edit a conflicting entry.
How do I access LD_PRELOAD and LD_LIBRARY_PATH to sort it out? Im new to linux so I found out these are libraries that load certain things first but have no idea how to edit a conflicting entry.
Ideally these should be empty. Does env list any of them, or does /etc/ld.so.preload (or maybe similar) exist?
Yes, that's NixOS/nixpkgs#327854. I don't know why you would have LD_LIBRARY_PATH set, but try unsetting it before restarting the installation. But you really want to get rid of it for good as the issue will likely repeat for any Nix application afterwards.
[work@fedora ~]$ unset LD_LIBRARY_PATH
[work@fedora ~]$ echo $LD_LIBRARY_PATH
[work@fedora ~]$ curl -L https://nixos.org/nix/install --insecure | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 4053 100 4053 0 0 3473 0 0:00:01 0:00:01 --:--:-- 11352
downloading Nix 2.9.1 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.9.1/nix-2.9.1-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.JL6ZvP34p0'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 27.4M 100 27.4M 0 0 6448k 0 0:00:04 0:00:04 --:--:-- 6449k
Note: a multi-user installation is possible. See https://nixos.org/manual/nix/stable/installation/installing-binary.html#multi-user-installation
performing a single-user installation of Nix...
copying Nix to /nix/store...
installing 'nix-2.9.1'
building '/nix/store/cpfxq2aax3j7bk61lxz2w633pd4jn4fr-user-environment.drv'...
unpacking channels...
modifying /home/work/.bash_profile...
Installation finished! To ensure that the necessary environment
variables are set, either log in again, or type
. /home/work/.nix-profile/etc/profile.d/nix.sh
in your shell.
Ok i think i got it to work this time unsetting it. Will the unset command get rid of it permanently? If not does that mean i need to unset it every time i run the nix shell? Thanks for your help so far I appreciate it.
Activity
Kha commentedon Jun 14, 2022
You probably have a conflicting entry in
LD_PRELOAD,LD_LIBRARY_PATH,/etc/ld.so.preload, ..., see e.g. #6563Maternowsky commentedon Jun 16, 2022
How do I access LD_PRELOAD and LD_LIBRARY_PATH to sort it out? Im new to linux so I found out these are libraries that load certain things first but have no idea how to edit a conflicting entry.
Maternowsky commentedon Jun 18, 2022
does nixOS not work with newer versions of glibc? I have 2.34 running
Kha commentedon Jun 18, 2022
Ideally these should be empty. Does
envlist any of them, or does/etc/ld.so.preload(or maybe similar) exist?Maternowsky commentedon Jun 18, 2022
i dont see it anywhere in env
Kha commentedon Jun 18, 2022
Yes, that's NixOS/nixpkgs#327854. I don't know why you would have
LD_LIBRARY_PATHset, but tryunsetting it before restarting the installation. But you really want to get rid of it for good as the issue will likely repeat for any Nix application afterwards.Maternowsky commentedon Jun 18, 2022
Ok i think i got it to work this time unsetting it. Will the unset command get rid of it permanently? If not does that mean i need to unset it every time i run the nix shell? Thanks for your help so far I appreciate it.
Maternowsky commentedon Jun 18, 2022
I cant tell if nix is installed properly. I cant use any commands
Maternowsky commentedon Jun 18, 2022
I restarted my computer and everything seems like it is running I just need to learn how to use it. Thank you