[ Please configure your mailer to wrap lines at or around 72 characters. ]

* Ronnie Indra Kurniawan <[EMAIL PROTECTED]> [001130 15:10]:
> 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'
[snip]

Try configuring sqwebmail with:

  env LIBS="-lmysqlclient -lz" ./configure [options]

Your version of vpopmail doesn't have the MySQL symbols linked in (like
sqwebmail expects), so you need to supply them manually.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"I would rather spend 10 hours reading someone else's source code than
10 minutes listening to Musak waiting for technical support which
isn't."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)

Reply via email to