Php/mysql problem

hello, I have a php script being triggered by procmail. Everything is working but the script returns an error as follows
procmail: Executing
php: error while loading shared libraries:
cannot open shared object file: No such file or directory
procmail: Error while writing to “php”

can somebody help? I have “#!/etc/php” at the top of the php file.