libz.so.1: cannot open shared object file

After checking to which package does the libz.so.1 belongs (http://packages.ubuntu.com/lucid/i386/zlib1g/filelist) you should try to install zlib1g: sudo apt-get install zlib1g As pointed by @E-rich, it may be required to add a :i386 suffix to the package name for the package manager correctly identify it: sudo apt-get install zlib1g:i386 EDIT (for CentOS or other distro that … Read more

How to install python3 version of package via pip on Ubuntu?

Ubuntu 12.10+ and Fedora 13+ have a package called python3-pip which will install pip-3.2 (or pip-3.3, pip-3.4 or pip3 for newer versions) without needing this jumping through hoops. I came across this and fixed this without needing the likes of wget or virtualenvs (assuming Ubuntu 12.04): Install package python3-setuptools: run sudo aptitude install python3-setuptools, this … Read more

CronJob not running

WTF?! My cronjob doesn’t run?! Here’s a checklist guide to debug not running cronjobs: Is the Cron daemon running? Run ps ax | grep cron and look for cron. Debian: service cron start or service cron restart Is cron working? * * * * * /bin/echo “cron works” >> /tmp/file Syntax correct? See below. You … Read more