I was trying to install nix on my Manjaro Linux according to the steps on Introduction. I went sh <(curl -L https://nixos.org/nix/install) --daemon
and the installation went well. After the installation I tried nix-shell -p nix-info --run "nix-info -m"
to verify it, only to find nix-shell: symbol lookup error: /usr/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE
. I tried re-installing glibc but it didn’t work.
I’m not quite sure where the problem is so I’m asking both forums for help . Maybe it’s because of some version incompatibility?
My glibc version is glibc-2.33-5
, which is the newest version for my OS. My Linux kernel version is 5.12.9-1.
You can try running ldd
on your nix-shell
, maybe you can see which libc
it depends on.