Hello,

I am new to this list and in need of a small point in the right direction.
I am trying to compile sqwebmail 1.2.5 with authvchkpw on FreeBSD
4.2-RELEASE. Vpopmail was compiled with mysql support. I configured
sqwebmail as follows:

mail # export CPPFLAGS="-I/usr/home/vpopmail/include -I/usr/local/include"
mail # export LDFLAGS="-L/usr/home/vpopmail/lib -L/usr/local/lib"
mail
#./configure --with-cachedir --with-logincache --enable-webpass=vpopmail
--with-authvchkpw --without-authmysql --without-authldap --without-authpam
--without-authshadow --without-authpwd --without-authdaemon

All seems to go well and 'make configure-check' reports the correct
directories.
However, when I issue 'make' I get the following error:

gcc  -I/usr/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/usr/home/vpopm
ail/lib
-L/usr/home/vpopmail/lib -L/usr/local/lib -o authvchkpw  modauthvchkpw.o
lauthmod.a             libauth.a ../md5/libmd5.a -lvpopmail  -lm -lcrypt
/usr/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
/usr/local/src/vpopmail-4.9.8-1/vauth.c(.text+0x26): undefined reference to
`mysql_init'
...(LOTS of undefined references like the one above i.e. mysql_*)...
*** Error code 1

Stop in /usr/local/src/sqwebmail-1.2.5/authlib.
*** Error code 1

Stop in /usr/local/src/sqwebmail-1.2.5.

Qmail, vpopmail, and qmailadmin are all working just fine.
Any direction or advice will be greatly appreciated.

Thanks.
--
Mark B. Turner
Systems Consultant
Cyber Tech Systems
http://www.ctsnc.com


Reply via email to