Linking error (?) with libz.so when precompiling Plots.jl

My educated guess is that you have the environment variable LD_LIBRARY_PATH set to some value which is messing up with julia. Try to start Julia with

LD_LIBRARY_PATH="" julia