ubuntu installation: libjpeg 8 dependancy

I cannot install minetest in ubuntu using the .deb file.
The problem is the libjpeg dependancy.
The ubuntu repositories have libjpeg 6b, and I need 8c to install minetest.
I went to http://www.ijg.org/ to download the package.
I am currently trying to install libjpeg 8 but so far I am unsuccessful xD.
The libraries are installed in usr/local/lib instead of usr/lib.
I did
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig
But minetest still demands libjpeg 8c before installing.
Currently I use the windows package with wine.
The problem is the libjpeg dependancy.
The ubuntu repositories have libjpeg 6b, and I need 8c to install minetest.
I went to http://www.ijg.org/ to download the package.
I am currently trying to install libjpeg 8 but so far I am unsuccessful xD.
The libraries are installed in usr/local/lib instead of usr/lib.
I did
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig
But minetest still demands libjpeg 8c before installing.
Currently I use the windows package with wine.