I use qmail-mta with vpopmail which use MySQL to store the vpopmail user database.
When I compile sqwebmail (using only vauthchkpw) module, it seems that when linking
libvpopmail.a with vauthchkpw, it doesn't read the MySQL header file (mysql.h). Then I
try to "--with-othermodule" in configure, 'make clean' and re-make it, it still stops
at the same section, vauthchkpw module. I get these errors:
gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/home/vpopmail/lib -o
authvchkpw modauthvchkpw.o libauthmod.a
libauth.a ../md5/libmd5.a -lvpopmail -lm -lcrypt
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
/path/to/vpopmail/src/vauth.c:59: undefined reference to `mysql_init'
(and similar messages to `mysql_real_connect' `mysql_query' 'mysql_store_result', and
several more similar messages)
All i know is, those functions are defined in mysql/mysql.h, i have tried to add
'#include <mysql/mysql.h>' line to every sqwebmail vauthchkpw code, but it still
doesn't work.
My vpopmail and qmail works fine by this time.
Anyone has a solution, or maybe know where i should patch the code so i can use
sqwebmail's vauthchkpw w/ mysql?
(forgive me about my english if it's so literally)
Best Regards
Indra Kurniawan
Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at
http://www.eudoramail.com