# libLLVM Issue when Adding/Building Packages

**URL:** <https://discourse.julialang.org/t/libllvm-issue-when-adding-building-packages/17523>\
**Category:** General Usage\
**Tags:** package\
**Created:** [November 14, 2018, 4:43pm UTC](https://discourse.julialang.org/t/libllvm-issue-when-adding-building-packages/17523 "2018-11-14T16:43:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielYin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gabrielyin/32/6059_2.png) [@GabrielYin](https://discourse.julialang.org/u/GabrielYin)\
**Post date:** [November 14, 2018, 4:43pm UTC](https://discourse.julialang.org/t/libllvm-issue-when-adding-building-packages/17523/1 "2018-11-14T16:43:26Z")

</div>

Hi there,

I tried to install JuMP 0.18.4 in Julia version 1.0.1, and it succeeded. When I tested the package, however, it told me to rebuild the SpecialFunctions. But then it failed to build this because of a LoadError: Unable to open libLLVM! as follows.

 ![errorbuild](https://global.discourse-cdn.com/julialang/original/3X/8/9/89d84f6e2d3e3a8572870ae40722ae6320cde37a.jpeg)

When I was firstly installing JuMP, it also reported this issue and failed, but later it succeeded after I tried and failed rebuilding the SpecialFunctions, which is weird.

Can somebody help me out with this? Thank you!

Gabriel

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [November 14, 2018, 4:47pm UTC](https://discourse.julialang.org/t/libllvm-issue-when-adding-building-packages/17523/2 "2018-11-14T16:47:04Z")

</div>

Here is some more discussion: [https://github.com/JuliaLang/julia/issues/29720](https://github.com/JuliaLang/julia/issues/29720).

---

<div class="post-metadata">

**Author:** ![GabrielYin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gabrielyin/32/6059_2.png) [@GabrielYin](https://discourse.julialang.org/u/GabrielYin)\
**Post date:** [November 14, 2018, 7:25pm UTC](https://discourse.julialang.org/t/libllvm-issue-when-adding-building-packages/17523/3 "2018-11-14T19:25:31Z")

</div>

Thank you! But I think based on that site there is currently no solution towards this problem…

Some guys said they can correct this in ubuntu by redirecting the system manually to the library, but I do not even know where I can find this library in Mac. The only information I know about this is its version, i.e. libLLVM-6.0.0, via using versioninfo() to show.

---

<div class="post-metadata">

**Author:** ![Losses](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/losses/32/9175_2.png) [@Losses](https://discourse.julialang.org/u/Losses)\
**Post date:** [July 26, 2019, 2:37am UTC](https://discourse.julialang.org/t/libllvm-issue-when-adding-building-packages/17523/4 "2019-07-26T02:37:44Z")

</div>

based on [https://github.com/JuliaLang/julia/issues/29720#issuecomment-480287809](https://github.com/JuliaLang/julia/issues/29720#issuecomment-480287809)

if you are using openSUSE, please:

```julia
sudo zypper in llvm-devel

```

trying to contact the maintainer of science repo, hope it could be solved proerly.
