5

trying to install nix (on a clean fedora 35 server), getting this error!

Error message:

/nix/store/sbbifs2ykc05inws26203h0xwcadnf0l-glibc-2.32-46/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/lib/libsodium.so.23)

my version of libc;

ldd --version ldd (GNU libc) 2.34

Pawara Siriwardhane
  • 1,873
  • 10
  • 26
  • 38
rob
  • 51
  • 5
  • The dynamic linker is picking up at least one library from `/usr`, which it shouldn't. Could you run `env | grep LD_` and add the output to the question text? – Robert Hensing Nov 14 '21 at 21:16
  • was in a hurry so wiped fedora and installed ubuntu, that solved the problem. – rob Nov 15 '21 at 03:05

1 Answers1

0

Please clear your LD_LIBRARY_PATH env which tells nix to load /usr/local/lib/libsodium.so.23 which has the wrong glibc version.

SuperSandro2000
  • 581
  • 10
  • 20