# Error in building julia

**URL:** <https://discourse.julialang.org/t/error-in-building-julia/33272>\
**Category:** New to Julia\
**Created:** [January 12, 2020, 6:45pm UTC](https://discourse.julialang.org/t/error-in-building-julia/33272 "2020-01-12T18:45:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![buzz](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@buzz](https://discourse.julialang.org/u/buzz)\
**Post date:** [January 12, 2020, 6:45pm UTC](https://discourse.julialang.org/t/error-in-building-julia/33272/1 "2020-01-12T18:45:57Z")

</div>

i get this error when I try to make  
/home/balaji/julia/deps/llvm.mk:575: \*\*\* Attempting to use gcc4 LLVM tarball, but compiling with cxx11 string ABI; set “CXXFLAGS=-D\_GLIBCXX\_USE\_CXX11\_ABI=0” to avoid linker errors. Stop.  
Makefile:60: recipe for target ‘julia-deps’ failed  
make: \*\*\* [julia-deps] Error 2

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 13, 2020, 7:06am UTC](https://discourse.julialang.org/t/error-in-building-julia/33272/2 "2020-01-13T07:06:30Z")

</div>

Which version of Julia is this?

What is your OS?

Did you try the flags suggested?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [January 13, 2020, 10:07am UTC](https://discourse.julialang.org/t/error-in-building-julia/33272/3 "2020-01-13T10:07:22Z")

</div>

Did you try what the error message suggests? That should work. The other option is to update gcc.

---

<div class="post-metadata">

**Author:** ![buzz](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@buzz](https://discourse.julialang.org/u/buzz)\
**Post date:** [January 15, 2020, 5:58pm UTC](https://discourse.julialang.org/t/error-in-building-julia/33272/4 "2020-01-15T17:58:11Z")

</div>

I cloned julia’s repository as on 13th January.  
I use Ubuntu 16.04  
Yes, I tried the suggested improvement.  
Still didn’t work.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 15, 2020, 6:02pm UTC](https://discourse.julialang.org/t/error-in-building-julia/33272/5 "2020-01-15T18:02:05Z")

</div>

You may need to update Ubuntu. `gcc` on 16.04 is really old.

---

<div class="post-metadata">

**Author:** ![buzz](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@buzz](https://discourse.julialang.org/u/buzz)\
**Post date:** [January 15, 2020, 6:03pm UTC](https://discourse.julialang.org/t/error-in-building-julia/33272/6 "2020-01-15T18:03:30Z")

</div>

worked thanks!

---

<div class="post-metadata">

**Author:** ![buzz](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@buzz](https://discourse.julialang.org/u/buzz)\
**Post date:** [January 15, 2020, 6:13pm UTC](https://discourse.julialang.org/t/error-in-building-julia/33272/7 "2020-01-15T18:13:33Z")

</div>

curl: (22) The requested URL returned error: 404 Not Found  
/home/balaji/julia/deps/suitesparse.mk:144: recipe for target ‘/home/balaji/julia/deps/srccache/SuiteSparse.v5.4.0-2…tar.gz’ failed  
make[1]: \*\*\* [/home/balaji/julia/deps/srccache/SuiteSparse.v5.4.0-2…tar.gz] Error 22  
Makefile:60: recipe for target ‘julia-deps’ failed  
make: \*\*\* [julia-deps] Error 2  
now i get this
