I am trying to use pre-build clang+llvm-10.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz to compile the demo from here.
# Compile
clang++ -g -O3 toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core` -o toy`
I got the following error:
llvm-config: /lib64/libtinfo.so.5: no version information available (required by llvm-config)
clang++: /lib64/libtinfo.so.5: no version information available (required by clang++)
/home/user/workspace/pkgs/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang-16: /lib64/libtinfo.so.5: no version information available (required by /home/user/workspace/pkgs/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang-16)
System info:
OS: CentOS Stream release 8
cmake version 3.20.2