Well I got MySQL installed and it is working well but when i try to fire up Apache I get error messages. I searched the forums here and also on google.com but nothing that seems to be a solution to my problem showed up.
The error that I got was this:
Now I know I have the libmysqlclient.so.12 file along with libmysqlclient.so so I'm not really sure where the problem is or where it originates. Does anyone have any suggestions?
Syntax error on line 238 of /etc/apache/httpd.conf:
Cannot load /usr/libexec/apache/libphp5.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started
did you try pointing it to the .so12 as the .so? also a reinstall might help.
sorry for being such a noob but how would i point it to the .so12 as the .so?
I don't think you have MySQL installed correctly then. Try to do the following:
locate libmysqlclient | grep so
Then see if it happened to install it into a non-standard directory like /usr/local/mysql/lib/libmysqlclient.so.12 or something. If that is the case, and there is no /usr/lib/libmysqlclient.so.*, you can just put /usr/local/mysql/lib into the linker path with:
echo "/usr/local/mysql/lib" >> /etc/ld.so.conf
You will need to do the above two as the root user.