Skip to content

Possible Build Bugs

Stonepia edited this page Jul 19, 2023 · 3 revisions

LLVM

1. error while loading shared libraries: libtinfow.so.6

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 directory

You 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.so

2. error: 'GLIBCXX_x.x.x' not found

conda install -y -c conda-forge libstdcxx-ng
Clone this wiki locally