#Expected LLVM 1.18.x but found using /usr/local/bin/llvm-config

1 messages · Page 1 of 1 (latest)

spare arrow
#

I'm trying to build zig 0.14.0-dev from souce on Linux Mint but I get this error when calling cmake:

/usr/local/bin/llvm-config: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
CMake Error at cmake/Findllvm.cmake:30 (message):
  expected LLVM 18.x but found using /usr/local/bin/llvm-config
Call Stack (most recent call first):
  CMakeLists.txt:140 (find_package)

I'm not sure what to do here... I installed prebuilt llvm 1.18 binaries

narrow garnet
#

your prebuilt binaries have a dependency on libtinfo, which you do not have installed