# Julia 0.6- WARNING: HDF5 had build errors

**URL:** <https://discourse.julialang.org/t/julia-0-6-warning-hdf5-had-build-errors/4578>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [July 1, 2017, 4:43am UTC](https://discourse.julialang.org/t/julia-0-6-warning-hdf5-had-build-errors/4578 "2017-07-01T04:43:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saran\_S](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/saran_s/32/1155_2.png) [@Saran\_S](https://discourse.julialang.org/u/Saran_S)\
**Post date:** [July 1, 2017, 4:43am UTC](https://discourse.julialang.org/t/julia-0-6-warning-hdf5-had-build-errors/4578/1 "2017-07-01T04:43:50Z")

</div>

I am unable to install BenchmarkTools. I am currently using Julia 0.6 on Mac OS. Below is the error which i receive when installing

```julia
>Pkg.add("BenchmarkTools")

INFO: Installing BenchmarkTools v0.0.8
INFO: Installing JLD v0.6.11
INFO: Installing LegacyStrings v0.2.2
INFO: Building Homebrew
INFO: Building Blosc
INFO: Building HDF5
================================[ERROR: HDF5]=================================

LoadError: KeyError: key "10.13" not found
while loading /Users/Saran/.julia/v0.6/HDF5/deps/build.jl, in expression starting on line 27

================================================================================

================================[BUILD ERRORS]================================

WARNING: HDF5 had build errors.

 - packages with build errors remain installed in /Users/Saran/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("HDF5")`
 - build a single package by running its `deps/build.jl` script

================================================================================
INFO: Package database updated

```

I also tried removing `~./Julia` folder and Julia from Applications. Reinstalled Julia 0.6 and tried to install BenchmarkTools. I still run into same issue.  
I have also tried the following

```julia
julia> using Homebrew
julia> Homebrew.rm("HDF5")
julia> Pkg.add("HDF5")
INFO: Installing Blosc v0.2.1
INFO: Installing HDF5 v0.8.1
INFO: Building Blosc
INFO: Building Homebrew
INFO: Building HDF5
=========================================================[ERROR: HDF5]=========================================================

LoadError: KeyError: key "10.13" not found
while loading /Users/Saran/.julia/v0.6/HDF5/deps/build.jl, in expression starting on line 27

=================================================================================================================================

========================================================[BUILD ERRORS]=========================================================

WARNING: HDF5 had build errors.

 - packages with build errors remain installed in /Users/Saran/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("HDF5")`
 - build a single package by running its `deps/build.jl` script

=================================================================================================================================
INFO: Package database updated

```

Kindly help me out in fixing this issue.

Thank You

---

<div class="post-metadata">

**Author:** ![Saran\_S](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/saran_s/32/1155_2.png) [@Saran\_S](https://discourse.julialang.org/u/Saran_S)\
**Post date:** [July 1, 2017, 6:27am UTC](https://discourse.julialang.org/t/julia-0-6-warning-hdf5-had-build-errors/4578/2 "2017-07-01T06:27:51Z")

</div>

In case anyone else runs into this issue. This is how i resolved it

```julia
;brew install hdf5
Pkg.build("HDF5")

```

---

<div class="post-metadata">

**Author:** ![Dario\_Sarra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dario_sarra/32/9338_2.png) [@Dario\_Sarra](https://discourse.julialang.org/u/Dario_Sarra)\
**Post date:** [May 21, 2018, 5:45pm UTC](https://discourse.julialang.org/t/julia-0-6-warning-hdf5-had-build-errors/4578/3 "2018-05-21T17:45:06Z")

</div>

It worked for me too in the following error  
INFO: Building HDF5  
==\> Installing gcc from staticfloat/juliatranslated  
==\> Downloading [https://homebrew.bintray.com/bottles/gcc-8.1.0.high\_sierra.bottl](https://homebrew.bintray.com/bottles/gcc-8.1.0.high_sierra.bottl)  
Already downloaded: /Users/dariosarra/Library/Caches/Homebrew.jl/gcc-8.1.0.high\_sierra.bottle.1.tar.gz  
==\> Pouring gcc-8.1.0.high\_sierra.bottle.1.tar.gz  
Error: Failed changing install name in /Users/username/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libubsan.1.dylib  
from @@HOMEBREW\_CELLAR@@/gcc/8.1.0/lib/gcc/8/i386/libstdc++.6.dylib  
to /Users/username/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libstdc++.6.dylib  
Error: Updated load commands do not fit in the header of /Users/username/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libubsan.1.dylib. /Users/username/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libubsan.1.dylib needs to be relinked, possibly with -headerpad or -headerpad\_max\_install\_names  
Warning: Bottle installation failed: building from source.  
==\> Downloading [https://ftp.gnu.org/gnu/gcc/gcc-8.1.0/gcc-8.1.0.tar.xz](https://ftp.gnu.org/gnu/gcc/gcc-8.1.0/gcc-8.1.0.tar.xz)  
Already downloaded: /Users/dariosarra/Library/Caches/Homebrew.jl/gcc-8.1.0.tar.xz  
==\> …/configure --build=x86\_64-apple-darwin17.5.0 --prefix=/Users/dariosarra/.j  
==\> make
