Re: [PHP] URGENT!!! Can't start Apache with php4 and mysql
What I did was this: ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10 /usr/lib/libmysqlclient.so.10 (that should be only one line) This fixed my problem. On 8/2/2001 6:36 AM this was written: > I have read the archives for this problem but I can't seam to fix it > This is on a RedHat 7 > I get this error when I try to start Apache > Starting httpd: Syntax error on line 256 of /etc/httpd/conf > /httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: > libmysqlclient.so.10: cannot open shared object file: No such file > or directory > > What I have read is to add the path to libmysqlclient.so.10 to the > /etc/ld.so.conf file and then run "ldconfig". at root > I did this but ldconfig does not run > I keep getting No such file or directory > > > This is what my ld.so.conf file looks like > /usr/X11R6/lib > /usr/kerberos/lib > /usr/lib > /usr/local/mysql > /usr/local/mysql/lib/mysql <--This is were libmysqlclient.so.10 is > > > I really need to get this working -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] URGENT!!! Can't start Apache with php4 and mysql
Richard, I've sometimes had to take a couple of swipes at this, trying both /usr/local/mysql/lib and /usr/local/mysql/lib/mysql And does libmysqlclient.so.10 have a symlink to something like libmysqlclient.so.10.0.0 And because I just checked a second machine, where mysql is installed in a completely different location, have you done a "locate" to confirm that libmysqlclient is where you expect? I know, it's like checking for gas in the tank, but sometimes Cheers - Miles At 03:36 AM 8/2/01 -0700, Richard Kurth wrote: >I have read the archives for this problem but I can't seam to fix it > This is on a RedHat 7 > I get this error when I try to start Apache >Starting httpd: Syntax error on line 256 of /etc/httpd/conf >/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: > libmysqlclient.so.10: cannot open shared object file: No such file > or directory > > What I have read is to add the path to libmysqlclient.so.10 to the > /etc/ld.so.conf file and then run "ldconfig". at root > I did this but ldconfig does not run > I keep getting No such file or directory > > > This is what my ld.so.conf file looks like >/usr/X11R6/lib >/usr/kerberos/lib >/usr/lib >/usr/local/mysql >/usr/local/mysql/lib/mysql <--This is were libmysqlclient.so.10 is > > > I really need to get this working > > > > > >Best regards, > Richard >mailto:[EMAIL PROTECTED] > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] URGENT!!! Can't start Apache with php4 and mysql
> -Original Message- > From: Richard Kurth [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 5:36 AM > To: php > Subject: [PHP] URGENT!!! Can't start Apache with php4 and mysql > > > I have read the archives for this problem but I can't seam > to fix it. This is on a RedHat 7. I get this error when I > try to start Apache > > Starting httpd: Syntax error on line 256 of /etc/httpd/conf > /httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: > libmysqlclient.so.10: cannot open shared object file: No such file > or directory > > What I have read is to add the path to libmysqlclient.so.10 to the > /etc/ld.so.conf file and then run "ldconfig". at root > > I did this but ldconfig does not run. I keep getting No such > file or directory If it's not in your normal search path, you might nead to provide the full path to the ldconfig program. I'm not sure where it normally lives on a Redhat system, but on my FreeBSD box, it's in /sbin. An alternative, of course, if you can't get things working the other way, is simply to copy libmysqlclient.so.10 to one of the locations that was already in your ld.so.conf (that is, somewhere that ld already knows about)... --- Mark Roedel | "The most overlooked advantage to owning a Systems Programmer| computer is that if they foul up there's no LeTourneau University | law against whacking them around a little." Longview, Texas, USA | -- Owen Porterfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]