To fix this #Ubuntu error;
Install the libraries to /usr/lib instead of /usr/local/lib.
Make a #symbolic link from /lib to the files in /usr/local/lib.
Copy the #files from /usr/local/lib into /usr/lib.
Set the #environment variable LD_LIBRARY_PATH to point to /usr/local/lib.
If you have #root privileges on this #Linux box, why not just ask the dynamic linker to check /usr/local/lib, too?
More info >>