I encountered an error when installing root v6.32.02 while using AlamLinux9 from wsl:
/usr/bin/ld: warning: libxxhash.so.0, needed by /home/esword/.local/software/root/6.32.02/lib/libCore.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/esword/.local/software/root/6.32.02/lib/libCore.so: undefined reference to `XXH64_canonicalFromHash'
/usr/bin/ld: /home/esword/.local/software/root/6.32.02/lib/libCore.so: undefined reference to `XXH64'
/usr/bin/ld: /home/esword/.local/software/root/6.32.02/lib/libROOTNTuple.so: undefined reference to `XXH3_64bits'
/usr/bin/ld: /home/esword/.local/software/root/6.32.02/lib/libCore.so: undefined reference to `XXH64_hashFromCanonical'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Neutrino.dir/build.make:645: Neutrino] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/Neutrino.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
But I searched I do own the xxhash
library and after uninstalling xxhash and reinstalling it still didn’t work, I finally realized that I had to install xxhash-libs
.
sudo dnf install xxhash-libs
_ROOT Version: 6.32.02
_Platform: wsl for AlmaLinux
_Compiler: PreCompiler