Ubuntu 11.04 libjpeg.so libpng.so PHP installation issues

PHP is a commonly used scripting language available on just about any  OS. If you're looking to install PHP on Ubuntu (particularly the new  11.04 build) then you may come across some issues.
Nigel Dunn discusses his experience with PHP on Ubuntu. Nigel has some  tricks to get everything up and running so it might save you save  yourself alot of time. The issues are surrounding libjpeg & libpng  and php Installation issues. 
The problem appears to be largely  around symbolic links.

Adding the appropriate smbolic links appear to fix the problem, so if  you're Ubuntu machine is complaining about libjpeg or lib png, try the  following:

 ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/libjpeg.so
 ln -s /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/libpng.so
Share: