Skip to content

Unable to find LLVMInitializeLoongArchTargetInfo on Debian based linux #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
TheoW03 opened this issue Sep 9, 2024 · 1 comment
Open

Comments

@TheoW03
Copy link

TheoW03 commented Sep 9, 2024

this happens

imagewhen 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.

@TheoW03 TheoW03 changed the title Unable to compile to binary on Debian linux Unable to find LLVMInitializeLoongArchTargetInfo Sep 9, 2024
@TheoW03 TheoW03 changed the title Unable to find LLVMInitializeLoongArchTargetInfo Unable to find LLVMInitializeLoongArchTargetInfo on Debian based linux Sep 9, 2024
@davidelettieri
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants