# Using Dataframes error

**URL:** https://discourse.julialang.org/t/using-dataframes-error/2069
**Category:** New to Julia
**Created:** [February 12, 2017, 9:03pm UTC](https://discourse.julialang.org/t/using-dataframes-error/2069 "2017-02-12T21:03:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mario\_M\_Dani](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@Mario\_M\_Dani](https://discourse.julialang.org/u/Mario_M_Dani)
#### Post date: [February 12, 2017, 9:03pm UTC](https://discourse.julialang.org/t/using-dataframes-error/2069/1 "2017-02-12T21:03:06Z")

</div>

julia\> using DataFrames  
INFO: Precompiling module DataFrames…  
ERROR: LoadError: LoadError: error compiling anonymous: could not load library “libz”  
libz: cannot open shared object file: No such file or directory  
while loading /home/mario/.julia/v0.4/GZip/src/zlib\_h.jl, in expression starting on line 11  
while loading /home/mario/.julia/v0.4/GZip/src/GZip.jl, in expression starting on line 77  
ERROR: LoadError: Failed to precompile GZip to /home/mario/.julia/lib/v0.4/GZip.ji  
while loading /home/mario/.julia/v0.4/DataFrames/src/DataFrames.jl, in expression starting on line 16  
ERROR: Failed to precompile DataFrames to /home/mario/.julia/lib/v0.4/DataFrames.ji  
in compilecache at ./loading.jl:400

---

<div class="post-metadata">

### Author: ![dfdx](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dfdx/32/120_2.png) [@dfdx](https://discourse.julialang.org/u/dfdx)
#### Post date: [February 12, 2017, 9:28pm UTC](https://discourse.julialang.org/t/using-dataframes-error/2069/2 "2017-02-12T21:28:05Z")

</div>

I’d start with downloading the latest Julia release (which is v0.5 at the moment) from [the official site](http://julialang.org/downloads/). Julia v0.4 is quite outdated now.

If this doesn’t automagically resolve the problem, try installing `libz` as indicated in the error. E.g. on Ubuntu you can run:

```
 sudo apt-get install zlib1g-dev

```

from a terminal.
