How did you install it? From an official binary package for your distribution or by compiling from source? In the latter case, you have to inform the system were the library are placed. You can either run (as root):
Code:
ldconfig /path/to/gmp-5.0.2/lib
or from a user's point of view, add the following to your .bashrc (or any other configuration file if you run a shell different from /bin/bash):
Code:
if [[ -z $LD_LIBRARY_PATH ]]
then
export LD_LIBRARY_PATH=/path/to/gmp-5.0.2/lib
else
export LD_LIBRARY_PATH=/path/to/gmp-5.0.2/lib:$LD_LIBRARY_PATH
fi
this will update (or create) the LD_LIBRARY_PATH environment variable that lists all the directories where the executables can find the shared objects.