You need to modify the Makefile to include the mysql libs.

In the authlib/Makefile

I changed the CRYPTLIBS line to:
CRYPTLIBS = -lcrypt -L/usr/local/lib/mysql -lmysqlclient -lz

As per recommendations in prior messages.

This worked rather than using the MYSQL_LIBS line.

Joe

-----Original Message-----
From: Daniel Hardaker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 8:49 AM
To: [EMAIL PROTECTED]
Subject: Courier IMAP


Has anyone ever had success in compiling courier IMAP with vpopmail +
SQL
support?

I get the following errors:
/home2/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vdel_dir_control':
/home/admin/vpopmail-4.9.8/vauth.c:1020: undefined reference to
`mysql_query'
/home/admin/vpopmail-4.9.8/vauth.c:1024: undefined reference to
`mysql_store_res
ult'
/home/admin/vpopmail-4.9.8/vauth.c:1025: undefined reference to
`mysql_free_resu
lt'

and then the make exits.  The IMAP list admins say that it is a vpopmail
issue and not anythingto do with them...I cant see how, any ideas would
be
gratefully recieved!


Reply via email to