Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-05-2004 #1Just Joined!
- Join Date
- Oct 2004
- Location
- VA
- Posts
- 5
libmysqlclient
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?Code: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
- 10-06-2004 #2
- 10-06-2004 #3Just Joined!
- Join Date
- Oct 2004
- Location
- VA
- Posts
- 5
sorry for being such a noob but how would i point it to the .so12 as the .so?
- 10-19-2004 #4Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
I don't think you have MySQL installed correctly then. Try to do the following:
udatedb
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
ldconfig
You will need to do the above two as the root user.
Best,
SamuelI respectfully decline the invitation to join your delusion.


Reply With Quote
