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
The program 'llvm-config' version ==9.0.* is required but it could not be found. #391
Comments
Clang is not required, but the Note that it should be 9.0. I think there was also a 9.1 or so, but the configure script won't like that. |
Hi, I'm having the same issue. I do have llvm-9 installed but the setup script tries to use version 12. Exact message:
Is there a parameter I can pass somewhere to make ghc look at the llvm 9 install location instead? |
add /path/to/llvm9/bin to the front of your PATH environment variable so that ghc checks it before that other bin directory |
To use llvm-hs against with a specific release of llvm, you need to provide both Let's say we need to use llvm-hs-9, follow these steps: 1. verify llvm-config has exact matched version with llvm-hs
$ llvm-config --version
9.0.1 2. check whether installed llvm provides dynamic library:if it does provide dynamic library, then you should receive following outputs: $ llvm-config --link-shared --libs
-lLLVM-9 or not: $ llvm-config --link-shared --libs
llvm-config: error: libLLVM-9.so is missing pass correct cabal flags 3. setup correct
|
How to solve this error?
I have installed llvm-6.0 by the command
sudo apt install llvm-6.0
.I didn't install clang.The text was updated successfully, but these errors were encountered: