ZSTD library missing for versions 6.20+

I’m trying to to update my version of ROOT using the pre-compiled binaries. From version 6.20/00 I always get the error

/path/root/bin/root.exe: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory

I would like to use some nice features of the new versions. Any help would be much appreciated.

Checking the release notes I saw that 6.20+ versions use ZSTD compression algorithms, and I guess it is related to the error.

About dependencies: all the basic packages are installed, except for cmake3. The package cmake is installed though.

$ sudo yum install cmake3
No package cmake3 available.

My working version is 6.18/04 and I can install also previous versions without problems.

Command flow for the installation:

wget https://root.cern/download/root_v6.20.00.Linux-centos7-x86_64-gcc4.8.tar.gz
tar -xzvf root_v6.20.00.Linux-centos7-x86_64-gcc4.8.tar.gz
source root/bin/thisroot.sh
root -l

ROOT Version: 6.20/00+
Platform: Centos 7

Thank you in advance,


Can you try installing libzstd ?

It worked after

sudo yum install libzstd-devel --enablerepo=epel

I had installed ‘zstd’ instead of ‘libzstd-devel’.

Sorry for the noise.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.