Error on Precompilation

question

#1

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:

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?


#2

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