# Error when compile v1.4.0

**URL:** <https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 16, 2020, 2:53pm UTC](https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700 "2020-04-16T14:53:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhang\_Wei](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhang_wei/32/14115_2.png) [@Zhang\_Wei](https://discourse.julialang.org/u/Zhang_Wei)\
**Post date:** [April 16, 2020, 2:53pm UTC](https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700/1 "2020-04-16T14:53:47Z")

</div>

Hi All, I try to compile v1.4.0 using gcc 6.4.0, get following error:

error during bootstrap:  
LoadError(“sysimg.jl”, 3, LoadError(“Base.jl”, 198, LoadError(“version.jl”, 240, ArgumentError("invalid version string: "))))  
VersionNumber at ./version.jl:111

Can someone help me to find out the reason? thanks!

---

<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:** [April 16, 2020, 3:18pm UTC](https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700/2 "2020-04-16T15:18:24Z")

</div>

The error seems to be from [https://github.com/JuliaLang/julia/blob/b8e9a9ecc62ab49003bd4f1834771bdeb8cb1aa2/base/version.jl#L240-L246](https://github.com/JuliaLang/julia/blob/b8e9a9ecc62ab49003bd4f1834771bdeb8cb1aa2/base/version.jl#L240-L246). Can you check the `libllvm_version_string` entry in `base/build_h.jl`?

---

<div class="post-metadata">

**Author:** ![Zhang\_Wei](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhang_wei/32/14115_2.png) [@Zhang\_Wei](https://discourse.julialang.org/u/Zhang_Wei)\
**Post date:** [April 16, 2020, 3:59pm UTC](https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700/3 "2020-04-16T15:59:48Z")

</div>

Hi fredrikekre, thanks for your reply. I checked `libllvm_version_string` entry in `base/build_h.jl` it empty: libllvm\_version\_string = “” How to fix it? Thanks!

---

<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:** [April 16, 2020, 4:05pm UTC](https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700/4 "2020-04-16T16:05:43Z")

</div>

I guess something goes wrong [here](https://github.com/JuliaLang/julia/blob/b0f3403f0607f5666ea5cc432a1db83849a08975/Make.inc#L910-L924) then? What does

```julia
$ make print-LLVM_CONFIG_HOST
LLVM_CONFIG_HOST=/home/fredrik/julia-master/usr/tools/llvm-config

$ /home/fredrik/julia-master/usr/tools/llvm-config --version
9.0.1jl

```

return for you?  
Have you made any settings w.r.t. LLVM?

---

<div class="post-metadata">

**Author:** ![Zhang\_Wei](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhang_wei/32/14115_2.png) [@Zhang\_Wei](https://discourse.julialang.org/u/Zhang_Wei)\
**Post date:** [April 16, 2020, 4:33pm UTC](https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700/5 "2020-04-16T16:33:13Z")

</div>

It shows: /lib64/libstdc++.so.6: version `GLIBCXX\_3.4.22’ not found. I have to upgrade libstdc++.so

---

<div class="post-metadata">

**Author:** ![Zhang\_Wei](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhang_wei/32/14115_2.png) [@Zhang\_Wei](https://discourse.julialang.org/u/Zhang_Wei)\
**Post date:** [April 16, 2020, 5:37pm UTC](https://discourse.julialang.org/t/error-when-compile-v1-4-0/37700/6 "2020-04-16T17:37:30Z")

</div>

Hello again,

I upgrade libstdc++.so, it works now. Thanks for your help!

Wei
