> Jia Rong wrote:
>
> I use vpopmail+mysql+sqwebmail,and have installed vopopmail+mysql.
> then there is some problem when i install sqwebmail.
> i run ./configure --enalbe-authvchkpw --without-authpam
> --without-authuserdb --without-authpwd --without-authshadow
> --enable-webpass=no
>
> then run make
>
> there is some error massage like this:
> /tmp/vpopmail-4.8.4/vauth.c 537:undefined reference to
> 'mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a
> vuth.o):infunction'vopen_smtp_relay':
> /tmp/vpopmail-4.8.4/vauth.c 563:undefined reference to 'mysql_query'
> .
> .
> .
> make[1]:***[authvchkpw] Error 1
> make:***[all-recursive] Error 1
>
> /tmp/vpopmail-4.8.4 is the path i unzip the tar file
> /home/vpopmail is the path i install
You need to edit the sqwebmail Makefile and add -L"path to mysql libs"
-lmysqlclient
Ken Jones