I was trying to install nix according to the steps given at NixOS - Nix 2.3.12 manual.
The installation steps are successful, but when I tried running nix-shell -p nix-info --run "nix-info -m"
just to verify the installation, there was nix-shell: symbol lookup error: /usr/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE
.
Apparently this has to do with glibc
, which doesn’t have an intended symbol. I tried re-installing glibc, tried other nix installation methods, but the error went the same.
I wonder if this is because of some version incompatibility? My glibc
version is glibc-2.33-5
.
我按照nix官网上的流程尝试安装nix,安装过程顺利,但是在安装完执行nix-shell -p nix-info --run "nix-info -m"
验证的时候显示nix-shell: symbol lookup error: /usr/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE
。我重装了glibc
,改为单用户安装nix,报错都一样。
我不清楚是不是glibc的版本问题,我的版本是glibc-2.33-5
。如果有人遇到过类似的问题,希望得到解答,谢谢!