Little late for that but I had the same problem... just install missing libs. In my case was zlib1g:i386 ( sudo apt-get install zlib1g:i386 ) because i´m using a 64 bit ubuntu. Hope that solve your problem.
Espero ter ajudado.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get compilation error:
what am I doing wrong? :(
Little late for that but I had the same problem... just install missing libs. In my case was zlib1g:i386 ( sudo apt-get install zlib1g:i386 ) because i´m using a 64 bit ubuntu. Hope that solve your problem.
Espero ter ajudado.