Dilawar's Blog

watch -n 1 /dev/null

02 Jul 2021

Fixing 'cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zst'

I get the following error during build. I think it is specific to CentOS-8.

$ cmake -DCMAKE_BUILD_TYPE=Release .. && make
cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd

It can be fixed easily by installing/updating libarchive.

$ sudo yum install -y cmake libarchive