NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
11.55k stars 1.45k forks source link

Installer fails on Arch #8663

Open mikeBoterf opened 1 year ago

mikeBoterf commented 1 year ago

Platform

Additional information

curl -L https://nixos.org/nix/install | sh -s -- --daemon

is run and it seems to "work" without errors, but I get the following error when I try to run any nix command: nix: /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/libc.so.6: version `GLIBC_2.36' not found (required by /usr/lib64/libstdc++.so.6)

However when I run as root I get the following for nix --version nix (Nix) 2.16.1

Path variables are different, and I fear that the installer isn't creating the directories appropriately.

Output

Output ```log nix: /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/libc.so.6: version `GLIBC_2.36' not found (required by /usr/lib64/libstdc++.so.6) ```

Priorities

Add :+1: to issues you find important.

SuperSandro2000 commented 1 year ago

Do you have LD_LIBRARY_PATH set? If so try unsetting it.

mikeBoterf commented 1 year ago
% echo $LD_LIBRARY_PATH
/opt/cuda/targets/x86_64-linux/lib:
% unset LD_LIBRARY_PATH
(*empty*)
% nix --version
nix: /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/libc.so.6: version `GLIBC_2.36' not found (required by /usr/lib64/libstdc++.so.6)
mikeBoterf commented 10 months ago

still seeing this after a multi-user install nix-shell: /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib64/libstdc++.so.6)