Skip to content

Unable to find LLVMInitializeLoongArchTargetInfo on Debian based linux #226

@TheoW03

Description

@TheoW03

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions