LLVMSharp
LLVMSharp copied to clipboard
Unable to find LLVMInitializeLoongArchTargetInfo on Debian based linux
this happens
when I try to run this on
Debian-based Linux. the exception originates from These 5 functions.
LLVM.InitializeAllTargetInfos();
LLVM.InitializeAllTargets();
LLVM.InitializeAllTargetMCs();
LLVM.InitializeAllAsmPrinters();
LLVM.InitializeAllAsmParsers();
the exact version of Linux I'm using is WSL-ubuntu 22.08. but we did test it on other Debian distros and we got the same issue. only when we tested it on Arch it worked.
affected versions
LLVM-Sharp Version 16.0.0 (newest version) LLVM runtime and library version 18.1.6 (the newest one that came out May 20th) I have them all downloaded. and set up correctly.
have you tried using version 16.0.6 of libLLVM? https://www.nuget.org/packages/libLLVM/16.0.6
I think versions of LLVMSharp and libLLVM should be aligned.