I checked vpopmail 4.8.5 and the vclose call is there.

You'll need to edit the courier-imap Makefile to include
-L/path-to-mysql-libs -lmysqlclient

mysql_close is in the mysqlclient library.

Ken Jones


Abdul Naseer wrote:
> 
> Hello,
> 
> I am also facing the same problem. I 've installed vpopmail-4.8.5 with
> MySQL.
> 
> Here is the error message I got while compiling the courier-imap
> 
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> /tmp/vpopmail-4.8.5/vauth.c:636: undefined reference to `mysql_close'
> collect2: ld returned 1 exit status
> 
> Any fix?
> 
> TIA
> 
> Naseer
> 
> ----- Original Message -----
> From: Ken Jones <[EMAIL PROTECTED]>
> To: TD <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Sunday, June 18, 2000 8:50 PM
> Subject: Re: Problems compiling Courier IMAP
> 
> > TD wrote:
> > >
> > > Hi.  I am getting the following error when compiling
> > > courier IMAP.
> > >
> > > %make
> > >
> > > make[1]: Entering directory `/disk01/blue/courier-imap-0.36a/authlib'
> > >
> gcc  -I/disk02/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/disk02/vpopmail/
> > > lib  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
> > > ../md5/libmd5.a -lvpopmail -lm -lcrypt
> > > libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
> > > /disk01/blue/courier-imap-0.36a/authlib/preauthvchkpw.c:75: undefined
> > > reference to `vclose'
> > > make[1]: *** [authvchkpw] Error 1
> > > make[1]: Leaving directory `/disk01/blue/courier-imap-0.36a/authlib'
> > > make: *** [all-recursive] Error 1
> > >
> > > Can anyone help me ?
> > > thanks!!
> > > TD
> >
> > Which version of vpopmail are you using? Only the
> > latest ones have the vclose() function call
> >
> > Ken Jones
> >

Reply via email to