-
Notifications
You must be signed in to change notification settings - Fork 70
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
llvm-lib is not automatically found on Ubuntu in LLVM 6 #196
Comments
Thanks! I ran into this problem just now. I didn't have success with the first work around (had trouble installing llvm-9; kept saying something about unmet dependency llvm-9-dev, even though I installed that as well) but, the second working around seemed to have worked. |
Preferable way to create symlink on Debian-based distros such as Ubuntu: You should probably consider installing a newer version of |
While Ubuntu 18.04 LTS is still supported, they don't plan to fix this. For people still affected by this issue I recommend to either switch to 20.04 LTS, or, if that's not a fitting solution for them, use the nxdk Docker image. |
|
@Margen67 It looks like you're not installing the dependencies. |
You were right. Installing |
What's the lowest supported LLVM version now? |
The oldest LLVM version that, to the best of my knowledge, does not have any issues in one of the distributions, is LLVM 10 (<9 can't build import libs, 9 crashes with debug builds). It's also the default version on Ubuntu 20.04 LTS. |
As we noticed in #156 (comment), Ubuntu 18.04 LTS seems to use LLVM 6 by default. However, in their LLVM 6 package not all binaries are found in
PATH
, even though they are still installed.In #156 (comment) I've additionally described that upstream probably won't fix it themselves.
They did fix it for LLVM 7 in the past but do not plan to backport the change to LLVM 6.
Possible workarounds include:
PATH=$PATH:/usr/lib/llvm-6.0/bin
so the binaries are found (recommended)A workaround must be added to the wiki (here). Ideally to install a newer LLVM altogether.
This issue might also affect other Debian distributions.
The text was updated successfully, but these errors were encountered: