# Distributions precompilation error

**URL:** <https://discourse.julialang.org/t/distributions-precompilation-error/14595>\
**Category:** General Usage\
**Created:** [September 5, 2018, 6:47pm UTC](https://discourse.julialang.org/t/distributions-precompilation-error/14595 "2018-09-05T18:47:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![austinbean](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@austinbean](https://discourse.julialang.org/u/austinbean)\
**Post date:** [September 5, 2018, 6:47pm UTC](https://discourse.julialang.org/t/distributions-precompilation-error/14595/1 "2018-09-05T18:47:57Z")

</div>

I wonder if anyone can suggest what I can do about this error. This is on a fresh install of 0.7, as far as I know. (This is on an HPC system and they upgraded at my request so I didn’t do it myself.)

```julia
              _
   _ _ _(_)_ | A fresh approach to technical computing
  (_) | (_) (_) | Documentation: https://docs.julialang.org
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 0.7.0 (2018-08-08 06:46 UTC)
 _/ |\ __'_|_|_|\__'_| |
|__/ | x86_64-redhat-linux

julia> using Distributions
[Info: Precompiling Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
/usr/bin/julia: symbol lookup error: /usr/bin/../lib64/libjulia.so.0.7: undefined symbol: utf8proc_decompose_custom
ERROR: LoadError: Failed to precompile StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] to /home/hcmg/beanaus/.julia/compiled/v0.7/StatsBase/EZjIG.ji.
Stacktrace:
 [1] top-level scope at none:2
in expression starting at /home/hcmg/beanaus/.julia/packages/Distributions/y4rh9/src/Distributions.jl:3
ERROR: Failed to precompile Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] to /home/hcmg/beanaus/.julia/compiled/v0.7/Distributions/xILW0.ji.

```

```julia

julia> versioninfo()
Julia Version 0.7.0
Commit a4cb80f3ed (2018-08-08 06:46 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, ivybridge)

```

---

<div class="post-metadata">

**Author:** ![austinbean](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@austinbean](https://discourse.julialang.org/u/austinbean)\
**Post date:** [September 5, 2018, 10:06pm UTC](https://discourse.julialang.org/t/distributions-precompilation-error/14595/2 "2018-09-05T22:06:59Z")

</div>

Before anyone spends any time looking into this, the problem has been solved. Building from source did not work but downloading the binaries directly did work. (That is, fixing this required a re-installation of Julia.) If anyone runs into a similar problem on RHEL 7 this solution worked for me.

---

<div class="post-metadata">

**Author:** ![Keno](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/keno/32/285_2.png) [@Keno](https://discourse.julialang.org/u/Keno)\
**Post date:** [September 5, 2018, 11:49pm UTC](https://discourse.julialang.org/t/distributions-precompilation-error/14595/3 "2018-09-05T23:49:35Z")

</div>

Yeah, BinaryBuilder does not currently produce binaries compatible with some older Linux distributions. That’ll be fixed very shortly at which point the source build should work also.
