Open danielo-unity3d opened 2 years ago
Further note: this is fixed with the following command:
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libLLVM-12.so /usr/lib/x86_64-linux-gnu/libLLVM.so
However, I didn't expect to have to install llvm/clang (on the system) in order to be able to use LLVMSharp from a project.
What also fixes the problem, is to change libLLVM-11.so
to libLLVM-12.so
in TryResolveLLVM, but this is also less than ideal.
Possibly related: ClangSharp #118
The readme says:
But attempting to run the tests (
dotnet test
intests/LLVMSharp.UnitTests
, running on Ubuntu 20.04) produces:After performing a restore, where exactly should
libLLVM.so
be found? (nothing is installed by the restore command)Note: I installed clang/llvm on my system using
sudo apt install clang-12 llvm-12-dev lldb-12