-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Pkg.build fails with LoadError: Unable to open libLLVM! #29720
Comments
AFAIK this is fixed with 1.0.1. Why don't you update? |
@nalimilan Even on 1.0.1, I run into a similar problem ( |
I'm having the same issue as @egnha, though I'm on Ubuntu 18. |
@egnha I can't reproduce on Fedora 28 nor on Centos 7. What OS and what exact version of the package are you using? Cc: @cdluminate for Debian/Ubuntu. |
@nalimilan Cannot reproduce on both amd64 and ppc64el. Tested with julia version |
Maybe something wrong with the shared lib / symlink These files / symlinks are included in the official binary tarball.
|
I'm having the same issue on macOS Mojave, 10.14 with an anaconda setup and Julia v1.0.1 I create a new environment, install julia via In order to access Julia via jupyter notebooks I do the following:
All goes fab,but then then opening
Hoping for a successful resolution of the above, I run:
Which slaps me back with the error that we are all experiencing here:
Is there anything wrong with the process I'm following? It's the first time I'm trying to get Julia to work with Jupyter Notebook. Julia info
|
I also have such problem! |
@nazywamsiepawel Exactly the same problem for me ! |
@nazywamsiepawel I am having same issue, Mojave 10.14, installing Julia via anaconda and trying to use jupyter. However, I was able to to get Julia working with juypter notebooks by avoiding Anaconda altogether. Using homebrew to install Julia, then running
worked for me. However I this is only the notebooks and I still want to be able to use JuypterLab edit: fixed it by adding |
I'm having the exact same Issue when I tried to use IJulia via Anaconda. But problem solved when I switched to JuliaPro. |
same issue on ubuntu 18.04 when julia is installed via anaconda. corrected with: |
Same issue for me on Ubuntu 16.04, conda 4.5.11, Julia 1.0.1 |
Yeah but I guess the solution differs in Mac. Can somebody show me where I can find libLLVM-6.0.0 in Mac system? I performed the same installation steps of the same version of Julia in a same Mac system with @nazywamsiepawel and I even do not know where to find that library. |
Confirming the same issue on Ubuntu 18.10, Julia 1.0.2, conda 4.5.11. Also resolved with linking: |
Confirming the same issue on Ubuntu 18.10, Julia 1.0.3, conda 4.5.12. Fixed by softlinking as above. |
Same here, Similarly fixed it with tracking the file down and making the libLLVM available in the more generic library path: $ dpkg -S libLLVM.so
llvm-6.0-dev: /usr/lib/llvm-6.0/lib/libLLVM.so
libjulia1: /usr/lib/x86_64-linux-gnu/julia/libLLVM.so
$ sudo ln -s /usr/lib/x86_64-linux-gnu/julia/libLLVM.so /usr/lib/libLLVM.so
$ The install requiring it, ( |
Maybe this issue should be merge with (or vice versa) JuliaPackaging/BinaryProvider.jl#130 ? It also seems to be discussed here: conda-forge/julia-feedstock#60 |
Since this is an issue with the conda-forge https://github.com/conda-forge/julia-feedstock/blob/master/recipe/build.sh In particular, note that the package does not install the conda-forge |
Same issue on OpenSUSE 15 with julia 1.0.3 from the science repo, here we need
(I had some error trying this out for the inital version of this post) |
Update (thanks to our sysadmin): OpenSuse 15 has a package llvm-devel which creates the link. |
Can you file an issue against the OpenSUSE repo (and post the link here)? |
|
Thanks. Actually it looks like the problem is just that OpenSUSE should use |
Thanks for the hint. Over at OpenSuse they tried it and it worked: https://bugzilla.opensuse.org/show_bug.cgi?id=1114692#c7 |
Let's reopen if still an issue. |
Currently running into this issue when running the following CI workflow on GHA: runs-on: windows-latest
steps:
- name: checkout commit
uses: actions/checkout@master
- name: set up Julia
uses: julia-actions/setup-julia@latest
with:
version: '1.8.1'
- name: build package
uses: julia-actions/julia-buildpkg@latest |
can you explained more on how to implement this please? Many thanks! |
@WT215 Sounds like you're asking generally about implementing CI on GitHub Actions? If so, let's chat on Gitter instead of cluttering this issue 😉 |
Did you end up solving this? I'm having the same problem. |
@gustaphe No I have found the upstream issue, though: JuliaPackaging/BinaryProvider.jl#211 |
Having this issue in Windows 10. I try to run "using Plots" and it shows FFMPEG not installed properly. It says I must run "build FFMPEG" but when I do it shows load error saying unable to open libLLVM. Don't know what to do! |
I'm exactly same issue as described by @msanchezr99, except in Windows 11 Pro 23H2. It's preventing me from Update: at least for me, this fix works. Find the llvm library with |
@droodman broken link. |
Using Julia 0.7.0 on RHEL 7.5. Julia was installed from julia-epel-7 repo referenced in the documentation (https://copr.fedorainfracloud.org/coprs/nalimilan/julia/). Building any package fails with:
ERROR: LoadError: LoadError: Unable to open libLLVM!
llvm6-libs.x86_64-6.0.0-4.el7 package was installed from the julia repo. This rpm installs libLLVM to /usr/lib64/llvm6/lib/. For some reason the build process does not find the lib. I worked around the issue by creating a symlink in /usr/lib64:
ln -s /usr/lib64/llvm6/lib/libLLVM-6.0.0.so /usr/lib64/libLLVM.so
With this symlink in place, packages build successfully.
Julia versioninfo():
build log:
julia-epel-7.repo
The text was updated successfully, but these errors were encountered: