Okay so I'm using a 64 bit Linux and I was having a lot of trouble getting Calibre ebook tool to convert books into Kindle loving mobi format. I was getting a python error:
ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory