I've been following Dan's problems with great interest, because I've got very similar problems. Vpopmail with MySQL support compiles and runs just fine. But when I go to build sqwebmail, I bombs on me. Red Hat Linux 6.1 sqwebmail 1.2.5 MySQL 3.22.32 (installed from source RPM's, including the -devel) [root@webmail4 sqwebmail-1.2.5]#./configure --enable-webpass=vpopmail \ --enable-cgibindir=/usr/local/apache/cgi-bin --with-ispell=/usr/bin/ispell \ --enable-imageurl=/images/webmail/ --with-cachedir \ --without-authpam --without-authuserdb --without-authpwd \ --without-authshadow --without-authmysql --without-authldap \ --without-authdaemon After running ./configure, I edit authlib/Makefile as per Joe Modjeski's suggestion: CRYPTLIBS = -lcrypt -L/usr/lib/mysql -lmysqlclient -I/usr/include/mysql That solved *MOST* of the errors I'm getting. I'm just down to two now: make[1]: Entering directory `/home/dweiner/sqwebmail-1.2.5/authlib' gcc -I/var/qmail/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/var/qmail/vpo pmail/lib -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a -lvpopmail -lm -lcrypt -L/usr/lib/mysql -lmysqlclient -I/us r/include/mysql /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser_size': /home/dweiner/vpopmail-4.9.8-1/vauth.c:208: undefined reference to `mysql_error' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw_size': /home/dweiner/vpopmail-4.9.8-1/vauth.c:266: undefined reference to `mysql_num_rows' collect2: ld returned 1 exit status make[1]: *** [authvchkpw] Error 1 make[1]: Leaving directory `/home/dweiner/sqwebmail-1.2.5/authlib' make: *** [all-recursive] Error 1 Any clues? TIA, Dave
