# Error on Precompilation

**URL:** <https://discourse.julialang.org/t/error-on-precompilation/3144>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 10, 2017, 1:52pm UTC](https://discourse.julialang.org/t/error-on-precompilation/3144 "2017-04-10T13:52:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tyde/32/922_2.png) [@Tyde](https://discourse.julialang.org/u/Tyde)\
**Post date:** [April 10, 2017, 1:52pm UTC](https://discourse.julialang.org/t/error-on-precompilation/3144/1 "2017-04-10T13:52:06Z")

</div>

Hi,

I just reinstalled julia, but now got the same error on precompilation of different Packages. For example when I try to use Plots, the following error shows:

```julia
ERROR: LoadError: LoadError: error compiling convert: error compiling cnvt: error compiling ^: could not load library "libopenlibm"
~
 in include_from_node1(::String) at .\loading.jl:488 (repeats 2 times)
 in macro expansion; at .\none:2 [inlined]
 in anonymous at .\<missing>:?
 in eval(::Module, ::Any) at .\boot.jl:234
 in process_options(::Base.JLOptions) at .\client.jl:239
 in _start() at .\client.jl:318
while loading C:\Users\thiem\.julia\v0.5\Colors\src\algorithms.jl, in expression starting on line 66
while loading C:\Users\thiem\.julia\v0.5\Colors\src\Colors.jl, in expression starting on line 35
ERROR: LoadError: Failed to precompile Colors to C:\Users\thiem\.julia\lib\v0.5\Colors.ji.
 in compilecache(::String) at .\loading.jl:593
 in require(::Symbol) at .\loading.jl:393
 in include_from_node1(::String) at .\loading.jl:488
 in macro expansion; at .\none:2 [inlined]
 in anonymous at .\<missing>:?
 in eval(::Module, ::Any) at .\boot.jl:234
 in process_options(::Base.JLOptions) at .\client.jl:239
 in _start() at .\client.jl:318
while loading C:\Users\thiem\.julia\v0.5\PlotUtils\src\PlotUtils.jl, in expression starting on line 7
ERROR: LoadError: Failed to precompile PlotUtils to C:\Users\thiem\.julia\lib\v0.5\PlotUtils.ji.
 in compilecache(::String) at .\loading.jl:593
 in require(::Symbol) at .\loading.jl:422
 in include_from_node1(::String) at .\loading.jl:488
 in eval(::Module, ::Any) at .\boot.jl:234
 in require(::Symbol) at .\loading.jl:415
while loading C:\Users\thiem\.julia\v0.5\Plots\src\Plots.jl, in expression starting on line 9

```

I did reinstall julia after I encountered this error but that did not help. Any Ideas to fix that?

---

<div class="post-metadata">

**Author:** ![Tyde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tyde/32/922_2.png) [@Tyde](https://discourse.julialang.org/u/Tyde)\
**Post date:** [April 10, 2017, 1:58pm UTC](https://discourse.julialang.org/t/error-on-precompilation/3144/2 "2017-04-10T13:58:44Z")

</div>

Okay, I found the error. Julia was not in my PATH and so it couln’t find the library.
