I think the following will help which came across this list ...



your mysql library flag is missing in authlib/Makefile

in authlib/Makefile file
find LDFLAGS line and set it to
LDFLAGS=-L/your/mysql/lib/path -lmysqlclient 
change the /your/mysql/lib/path to with your mysql lib dir
if you do not know , where it is
use
#find / -name libmysqlclient.a  
it will print you to your mysql lib dir


Regards
Sumith
----- Original Message ----- 
From: Said Madrus <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 1:46 PM
Subject: how to install vpopmail + courier imap


> Dear all,
> how to install courier-imap and vpopmail ??
> i have already installed vpopmail-4.9.6-1 and
> courier-imap-1.3.1, but still error like this :
> =====
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
> /source/vpopmail-4.9.6-1/vauth.c:59: undefined reference to `mysql_init'
> /source/vpopmail-4.9.6-1/vauth.c:61: undefined reference to
> `mysql_real_connect'
> /source/vpopmail-4.9.6-1/vauth.c:63: undefined reference to
> `mysql_real_connect'
> /source/vpopmail-4.9.6-1/vauth.c:70: undefined reference to `mysql_query'
> /source/vpopmail-4.9.6-1/vauth.c:75: undefined reference to
> `mysql_store_result'
> /source/vpopmail-4.9.6-1/vauth.c:76: undefined reference to
> `mysql_free_result'
> /source/vpopmail-4.9.6-1/vauth.c:77: undefined reference to
> `mysql_select_db'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_adddomain_size':
> ......
> ......
> /source/vpopmail-4.9.6-1/vauth.c(.text+0x110e): undefined reference to
> `mysql_close'
> *** Error code 1
> Stop in /source/imap/courier-imap-1.3.1/authlib.
> *** Error code 1
> Stop in /source/imap/courier-imap-1.3.1.
> =====
> what version should i install ??
> thanks in advance.
> 
> said madrus

Reply via email to