libjpeg.so.62: cannot open shared object file: No such file or directory
Are you running a 64bit version of Ubuntu? If so than you need to install the 32bit version of libjpeg via this command
sudo apt-get install libjpeg62:i386
It seems hacketyhack uses the 32bit version of libjpeg
If the command in accepted answer doesn't work try using the following command
sudo apt-get install libjpeg62
It installs amd64 version of libjpeg62 which may be the case for some.