mull-project / mull

Practical mutation testing and fault injection for C and C++
https://mull.readthedocs.io
Apache License 2.0
751 stars 74 forks source link

Error loading libclang-cpp.so #1043

Open sparist opened 7 months ago

sparist commented 7 months ago

I followed the instructions here for Ubuntu 22.04: https://mull.readthedocs.io/en/0.21.0/Installation.html

When running mull-runner-14 --version, I get:

/usr/bin/mull-runner-14: error while loading shared libraries: libclang-cpp.so.14: cannot open shared object file: No such file or directory

I've installed libclang-cpp-dev and the file exists at /usr/lib/llvm-14/lib/libclang-cpp.so.14. I've tried exporting LD_LIBRARY_PATH and creating symlinks, but nothing works.

Am I missing steps, and if so, can these steps please be added to the installation instructions?

sparist commented 7 months ago

The problem in my case was trying to run on ARM64.

However, libclang-cpp# should be added as a dependency of mull-# to ensure that lib clang-cpp.so.# is installed.