I’m posting this for anyone else who has the same problem.
Last night it was working fine. I had compiled php5 using the script at:
This morning I was getting the error:
bin/php: error while loading shared libraries: libmysqlclient.14: cannot open shared object file: No such file or directory
and my sites were just getting an Internal Server Error.
I just deleted the two php binaries.
Did a make. and then make install. Now everything works fine again.