On Mon, Feb 04, 2008 at 09:17:05PM +0000, Simon H wrote:
> On Feb 3, 2008 10:01 PM, Simon Bertrang <> wrote:
> > On Sun, Feb 03, 2008 at 09:55:02PM +0000, Simon H wrote:
> > > On Feb 3, 2008 9:48 PM, Simon Bertrang <> wrote:
> > > >
> > > > On Sun, Feb 03, 2008 at 08:22:55PM +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'
> > > > >
> > > > > There's very little out there on Google that can advise what to do and
> > > > > the maintainer of the package is listed as ports@ so I've posted here.
> > > > > Should I be posting this to [EMAIL PROTECTED]
> > > > >
> > > > > Can anyone suggest a fix/workaround for this?
> > > > >
> > > >
> > > > Hi Simon,
> > > > you can give the attached diff a try?  I think it should fix the issue.
> > > >
> > > > Kind regards,
> > > > Simon
> > > >
> > >
> > > Thanks Simon.  I did see 1 post about the mysql_real_connect rename,
> > > but honestly, since I didnt see many others and the fact that it was
> > > 2004, I figured surely this has been resolved.
> > >
> >
> > Actually i just took the patch from FreeBSD... ;-)
> >
> > > I've been using the binary package so will have to pull down the ports
> > > tree.  I'll let you know how I get on.
> > >
> >
> > Great, then we have a chance to fix it finally... as i've noticed it in
> > the past but had no test case and forgot about it again.
> >
> > Regards,
> > Simon
> >
> 
> Here's the diff for anyone who's interested.  Would be great if this
> made it into the port.
> 

I'm taking care of it and already asked for an ok but i won't reject
more tests/eyes :-)

Regards,
Simon

Reply via email to