With 10.04 I fixed with:
sudo gedit /etc/php5/cli/conf.d/mcrypt.ini
remove the # character and save file and the message goes away.
With 10.04 I fixed with:
sudo gedit /etc/php5/ cli/conf. d/mcrypt. ini
remove the # character and save file and the message goes away.