i did that... export LIBS="-L/usr/local/mysql/lib/mysql -lmysqlclient -lz" and to verify it settings took effect su-2.05# echo $LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient -lz su-2.05# and i end up with this Making all in authlib gmake[1]: Entering directory `/usr/local/src/sqwebmail-2.1.1/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 ../sha1/libsha1.a -lvpopmail -lm -lcrypt /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open': /usr/local/src/vpopmail-4.9.10/vauth.c:70: undefined reference to `mysql_init' /usr/local/src/vpopmail-4.9.10/vauth.c:73: undefined reference to `mysql_real_connect' /usr/local/src/vpopmail-4.9.10/vauth.c:75: undefined reference to `mysql_real_connect' /usr/local/src/vpopmail-4.9.10/vauth.c:81: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:86: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:87: undefined reference to `mysql_free_result' /usr/local/src/vpopmail-4.9.10/vauth.c:88: undefined reference to `mysql_select_db' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain_size': /usr/local/src/vpopmail-4.9.10/vauth.c:121: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:125: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:126: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser_size': /usr/local/src/vpopmail-4.9.10/vauth.c:186: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:194: undefined reference to `mysql_error' /usr/local/src/vpopmail-4.9.10/vauth.c:189: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:199: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:200: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw_size': /usr/local/src/vpopmail-4.9.10/vauth.c:240: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:245: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:250: undefined reference to `mysql_num_rows' /usr/local/src/vpopmail-4.9.10/vauth.c:260: undefined reference to `mysql_fetch_row' /usr/local/src/vpopmail-4.9.10/vauth.c:272: undefined reference to `mysql_free_result' /usr/local/src/vpopmail-4.9.10/vauth.c:269: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deldomain_size': /usr/local/src/vpopmail-4.9.10/vauth.c:297: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:300: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:301: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deluser_size': /usr/local/src/vpopmail-4.9.10/vauth.c:331: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:335: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:336: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setquota_size': /usr/local/src/vpopmail-4.9.10/vauth.c:363: undefined reference to `mysql_query' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_vpasswd_size': /usr/local/src/vpopmail-4.9.10/vauth.c:404: undefined reference to `mysql_query' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getall_size': /usr/local/src/vpopmail-4.9.10/vauth.c:467: undefined reference to `mysql_fetch_row' /usr/local/src/vpopmail-4.9.10/vauth.c:479: undefined reference to `mysql_free_result' /usr/local/src/vpopmail-4.9.10/vauth.c:445: undefined reference to `mysql_free_result' /usr/local/src/vpopmail-4.9.10/vauth.c:448: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:453: undefined reference to `mysql_use_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setpw_size': /usr/local/src/vpopmail-4.9.10/vauth.c:547: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:552: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:553: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vopen_smtp_relay': /usr/local/src/vpopmail-4.9.10/vauth.c:586: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:592: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:596: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:597: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules': /usr/local/src/vpopmail-4.9.10/vauth.c:604: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:607: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:612: undefined reference to `mysql_use_result' /usr/local/src/vpopmail-4.9.10/vauth.c:612: undefined reference to `mysql_fetch_row' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp': /usr/local/src/vpopmail-4.9.10/vauth.c:634: undefined reference to `mysql_query' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_relay_table': /usr/local/src/vpopmail-4.9.10/vauth.c:643: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:647: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:648: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose': /usr/local/src/vpopmail-4.9.10/vauth.c:662: undefined reference to `mysql_close' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vread_dir_control': /usr/local/src/vpopmail-4.9.10/vauth.c:797: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:801: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:805: undefined reference to `mysql_use_result' /usr/local/src/vpopmail-4.9.10/vauth.c:810: undefined reference to `mysql_fetch_row' /usr/local/src/vpopmail-4.9.10/vauth.c:834: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vwrite_dir_control': /usr/local/src/vpopmail-4.9.10/vauth.c:879: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:883: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:884: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_dir_control': /usr/local/src/vpopmail-4.9.10/vauth.c:896: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:900: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:901: undefined reference to `mysql_free_result' /usr/local/src/vpopmail-4.9.10/vauth.c:919: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:923: undefined reference to `mysql_store_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vdel_dir_control': /usr/local/src/vpopmail-4.9.10/vauth.c:934: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:938: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:939: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vlogauth': /usr/local/src/vpopmail-4.9.10/vauth.c:954: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:964: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:968: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:969: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_lastauth_table': /usr/local/src/vpopmail-4.9.10/vauth.c:977: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.10/vauth.c:981: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.10/vauth.c:982: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules': /usr/local/src/vpopmail-4.9.10/vauth.c:620: undefined reference to `mysql_free_result' /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_dir_control': /usr/local/src/vpopmail-4.9.10/vauth.c:924: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status gmake[1]: *** [authvchkpw] Error 1 gmake[1]: Leaving directory `/usr/local/src/sqwebmail-2.1.1/authlib' gmake: *** [all-recursive] Error 1 su-2.05# and in this line 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 ../sha1/libsha1.a -lvpopmail -lm -lcrypt i dont see anything about mysql client :( ----- Original Message ----- From: "Adam Bregenzer" <[EMAIL PROTECTED]> To: "alexus" <[EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 4:13 PM Subject: Re: sqwebmail w/ encryption feature | and yes i did read INSTALL/FAQ for sqwebmail and for vpopmail > I don't know if it will work on your version, in fact if your configure options are different from mine your makefile may be different and it may not work at all. > > The patch just changes two lines, have you tried making the changes manually? > > also, you may have to do: > patch -p2 <filename.patch > > > On Thu, 5 Jul 2001 15:39:26 -0400 > "alexus" <[EMAIL PROTECTED]> wrote: > > > su-2.05# pwd > > /usr/local/src/sqwebmail-2.1.1 > > su-2.05# patch -p1 < /home/alexus/sqwebmail_authlib_Makefile.patch > > Hmm... Looks like a unified diff to me... > > The text leading up to this was: > > -------------------------- > > |--- ./sqwebmail-2.0.0.20010528/authlib/Makefile Tue Jul 3 19:39:00 2001 > > |+++ ./sqwebmail-2.0.0.20010528.new/authlib/Makefile Fri Jun 1 12:46:54 > > 2001 > > -------------------------- > > File to patch: > > > > ?? > > > > and i'm using 2.1.1 will it work? 'cause looks like yours patch is for > > 2.0.0.x > > > > ----- Original Message ----- > > From: "Adam Bregenzer" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, July 03, 2001 8:40 PM > > Subject: Re: sqwebmail w/ encryption feature | and yes i did read > > INSTALL/FAQ for sqwebmail and for vpopmail > > > > > > > I ran into the same problem when I compiled sqwebmail. > > > > > > > > > First of all, I had this problem on a system running slackware 7.1 with > > the following: > > > mysql-3.23.34, qmail 1.03, vpopmail 4.9.10, and sqwebmail 2.0.0.20010528 > > > > > > and here's my sqwebmail config options: > > > ./configure --prefix=/usr/local/sqwebmail \ > > > --sysconfdir=/etc/sqwebmail \ > > > --with-db=db \ > > > --enable-cgibindir=/home/www/cgi-bin \ > > > --without-authpwd \ > > > --without-authshadow \ > > > --without-authpam \ > > > --without-authuserdb \ > > > --with-authvchkpw \ > > > --without-authldap \ > > > --without-authdaemon \ > > > --enable-unicode \ > > > --with-ispell=/usr/bin/ispell \ > > > --enable-webpass=vpopmail \ > > > --enable-autopurge=1 \ > > > --enable-maxpurge=10 \ > > > --enable-mimetypes=/var/lib/apache/conf/mime.types \ > > > --with-maxformargsize=5000000 \ > > > --with-cachedir=/var/cache/sqwebmail \ > > > --with-cacheowner=vpopmail \ > > > --enable-imagedir=/home/www/images \ > > > --enable-imageurl=http://images.webentrada.com > > > > > > > > > I found a quick fix to the Makefile in sqwebmail/authlib fixed the > > problem. Attached are two patches: > > > sqwebmail_authlib_Makefile.patch should fix the sqwebmail/authlib/Makefile > > file so you can compile and move on. > > > > > > sqwebmail_authlib_Makefile_am.patch should fix the > > sqwebmail/authlib/Makefile.am file so that future releases don't have this > > problem (assuming someone on this list has access to the sqwebmail source > > tree..) > > > > > > to apply the patch copy the file into the sqwebmail directory and run: > > > patch -p1 <patchfile.patch > > > > > > replacing 'patchfile.patch' with the appropriate file name. > > > > > > good luck :P >