I'm running into the same exact problem.  Apache will not start until
Mysql has been started (even if mysql is stopped prior to starting httpd),
and gives that same message.  If you start mysql first it should run fine.

Being relatively new to this type of thing I'm making some blind stabs,
but my guess is that the php module in apache isn't seeing a shared
library that is only made 'available' during the mysql start up? (pardon the
terms..again relatively new.) The
problem is that rc.local is followed after rc, so if you put mysql
startups in rc.local, httpd won't start. I worked around it temporarily by
putting the mysql startup directly in rc prior to httpd.  This is a no-no
according to the FAQ, so I'm currently trying to learn a bit about the
shared lib thing and how I can make it work correctly.

If anyone has a pointer to a solution to this or to generic info that
would educate and shed some light, it'd be much appreciated.

-Mike

On Fri, 23 Mar 2001, Colonel Panic wrote:

> Hi
> 
> I've installed MySQL (mysql-3.23.33-pth) and PHP (php4-4.0.3pl1-mysql) from OpenBSD 
>ports...
> 
> ... but this has broken apache. Restarts/configtests now trigger:-
> /usr/libexec/ld.so: httpd: libmysqlclient.so.6.0: No such file or directory
> 
> I've added
> shlib_dirs="/usr/local/lib/mysql"
> to rc.conf
> and the file is world readable and executable (although oened by root).
> 
> ...but the problem persists. In /usr/local/lib/mysql/ libmysqlclient.so.6.0 is 
>actually version so.10 ... is this the cause of the problem?
> 
> all any help and guidance would be appreciated.
> 
> thanks
> 
> cp
> 
> -- 
> [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to