Show:

$ pkg_info | grep -i sql

Also:

$ ldd /usr/lib/apache/modules/mod_auth_mysql.so

Does the reference to the mysql lib have a valid path?  Likely the
package is simply not installed.

~BAS

On Sun, 2008-02-03 at 14:30 -0600, L. V. Lammert wrote:
> At 08:22 PM 2/3/2008 +0000, Simon H wrote:
> >Hi all
> >
> >I recently inherited an old php/mysql app which I have migrated onto
> >OpenBSD 4.2 with the latest MySQL/PHP packages and modules.
> >
> >I installed the mod_auth_mysql package after realizing the app did
> >basic auth with this backend and when trying to start the server again
> >I get:
> >
> >/usr/sbin/httpd:/usr/lib/apache/modules/mod_auth_mysql.so: undefined
> >symbol 'mysql_connect'
> 
> You don't have a mysql connection - check php_info(), .. are you running 
> chroot'd? If so, test with -u or copy all your libraries into the chroot.
> 
>          Lee
> 
> 
> 
> 
> 
> 
> 




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


Reply via email to