i recently had a nice little setup going with qmail + vpopmail (auth cdb) +
sqwebmail + qmailadmin and all was running fine. i recompiled vpopmail to
authenticate via mysql and after a little troubleshooting to get connection
to mysql server...authentication started working. next i went to recompile
sqwebmail with the login cache option and that is where i get this error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/var/vpopmail/include -g -O2 -Wall -I.
. -I./.. -c modauthcustom.c
gcc -I/var/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/var/vpopmail/lib -
o authcustom modauthcustom.o libauthmod.a libauth.a ../md5/libmd5.a
../sha1/libsha1.a -lcrypt
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/var/vpopmail/include -g -O2 -Wall -I.
. -I./.. -c modauthuserdb.c
gcc -I/var/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/var/vpopmail/lib -
o authuserdb modauthuserdb.o libauthmod.a libauth.a ../userdb/libuserdb.a
../gdbmobj/libgdbmobj.a -lgdbm ../md5/libmd5.a ../sha1/libsha1.a -lcrypt
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/var/vpopmail/include -g -O2 -Wall -I.
. -I./.. -c modauthvchkpw.c
gcc -I/var/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/var/vpopmail/lib -
o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a
../sha1/libsha1.a -lvpopmail -lm -lcrypt
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_update':
/source/vpopmail-4.10.20/vauth.c:102: undefined reference to `mysql_init'
/source/vpopmail-4.10.20/vauth.c:105: undefined reference to
`mysql_real_connect'
/source/vpopmail-4.10.20/vauth.c:112: undefined reference to
`mysql_real_connect'
/source/vpopmail-4.10.20/vauth.c:124: undefined reference to `mysql_query'
/source/vpopmail-4.10.20/vauth.c:132: undefined reference to
`mysql_store_result'
/source/vpopmail-4.10.20/vauth.c:133: undefined reference to
`mysql_free_result'
/source/vpopmail-4.10.20/vauth.c:136: undefined reference to
`mysql_select_db'
lots of errors in between
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules':
/source/vpopmail-4.10.20/vauth.c:685: undefined reference to
`mysql_free_result'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_dir_control':
/source/vpopmail-4.10.20/vauth.c:1010: undefined reference to
`mysql_free_result'
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/source/sqwebmail-2.1.1/authlib'
make: *** [all-recursive] Error 1
my vpopmail config is:
./configure --enable-mysql=y --enable-many-domains=n --enable-roaming-users=
y --enable-logging=p --enable-valias=y --enable-qmail-ext=y --enable-sqwebma
il-pass=y --enable-hardquota=31457280 --enable-tcprules-prog=/usr/local/bin/
tcprules --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp
my sqwebmail config is:
./configure --with-authvchkpw --without-authmysql --enable-logincache --with
-cachedir=/var/sqwebmail/cache --enable-https --enable-webpass=vpopmail --en
able-softtimeout=300 --enable-hardtimeout=3600 --enable-autopurge=7 --enable
-maxpurge=7--with-htmllibdir=/var/sqwebmail --enable-cgibindir=/var/httpd/cg
i-bin --enable-imagedir=/var/sqwebmail/icons --enable-imageurl=/images/sqweb
mail --with-maxmsgsize=512000
my current install of sqwebmail will not let me log in under any account.
pop authentication works fine and email delivery seems to be working fine
also. no troubles. any hints as to how i can talk sqwebmail into
completely compiling so my web interface works again would be much
appreciated. thanx.