-
Couldn't load subscription status.
- Fork 75
Possible Build Bugs
Stonepia edited this page Aug 28, 2023
·
3 revisions
Error message would be like:
/llvm/build/bin/mlir-tblgen: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directoryYou could locate your libtinfow.so.6 and preload it.
# First find your desired .so, normally it is under your conda env
locate libtinfow.so.6
# Preload it
export LD_PRELOAD=/home/gta/miniconda3/envs/env_name/lib/libtinfow.soconda install -y -c conda-forge libstdcxx-ngThis is because your system missing zlib. Install with
sudo apt-get install zlib1g-devLLVM libraries (libLLVMSupport.a in particular) unfortunately depends on terminfo (libtinfo.so). Usually, libtinfo is packaged in ncurses-dev or libtinfo-dev.
sudo apt install ncurses-dev