Greetings, Having been using vpopmail since the "Dim Dark Past(tm)" - I decided to install sqwebmail... Although repeated attempts at making it (with vpopmail v.3.4.11-2-released installed) - it kept puking at me complaining that a whole pile of functions (regarding mysql auth) haven't been defined... So I upgraded to 4.8.9 and retried thinking that since the ChangeLog said that the whole mysqlauth bit had been rewritten - that my 3.4.11 may have had something to do with it (unlikely). Still puked with the same errors. So I tried with sqwebmail 0.37a - same deal.. Qmail and vpopmail work fine though... so currently I have a working 4.8.9 vpopmail with mysql - but no luck with the sqwebmail bit... This is the config line I used for sqwebmail was: ./configure --prefix="/opt/sqwebmail" --with-module=authvchkpw --with-cachedir="/opt/sqwebmail/cachedir" --with-cacheowner=vpopmail --enable-cgibindir="/opt/sqwebmail/cgi-bin" --enable-imagedir="/opt/sqwebmail/htdocs/images" --enable-imageurl="/images/" --enable-mimetypes="/opt/apache/conf/mime.types" --with-ispell="/usr/bin/ispell" --with-htmllibdir="/opt/sqwebmail/htdocs" Although I tried the configure line later with other combinations (such as specifically disabling all other auth methods except authvchkpw) and also tried changing --with-module=authvchkpw to --with-authvchkpw.. The errors whilst making were always more or less: Making all in authlib make[1]: Entering directory `/root/archive/sqwebmail-0.99/authlib' 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 -lvpopmail -lm -lcrypt /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open': /root/archive/vpopmail-4.8.9/vauth.c:59: undefined reference to `mysql_init' /root/archive/vpopmail-4.8.9/vauth.c:61: undefined reference to `mysql_real_connect' /root/archive/vpopmail-4.8.9/vauth.c:63: undefined reference to `mysql_real_connect' /root/archive/vpopmail-4.8.9/vauth.c:70: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:75: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:76: undefined reference to `mysql_free_result' /root/archive/vpopmail-4.8.9/vauth.c:77: undefined reference to `mysql_select_db' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain_size': /root/archive/vpopmail-4.8.9/vauth.c:121: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:125: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:126: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser_size': /root/archive/vpopmail-4.8.9/vauth.c:193: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:196: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:206: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:207: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw_size': /root/archive/vpopmail-4.8.9/vauth.c:248: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:253: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:268: undefined reference to `mysql_fetch_row' /root/archive/vpopmail-4.8.9/vauth.c:277: undefined reference to `mysql_free_result' /root/archive/vpopmail-4.8.9/vauth.c:280: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deldomain_size': /root/archive/vpopmail-4.8.9/vauth.c:304: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:307: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:308: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setquota_size': /root/archive/vpopmail-4.8.9/vauth.c:368: undefined reference to `mysql_query' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_vpasswd_size': /root/archive/vpopmail-4.8.9/vauth.c:408: undefined reference to `mysql_query' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getall_size': /root/archive/vpopmail-4.8.9/vauth.c:449: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:454: undefined reference to `mysql_use_result' /root/archive/vpopmail-4.8.9/vauth.c:466: undefined reference to `mysql_fetch_row' /root/archive/vpopmail-4.8.9/vauth.c:476: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setpw_size': /root/archive/vpopmail-4.8.9/vauth.c:544: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:549: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:550: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vopen_smtp_relay': /root/archive/vpopmail-4.8.9/vauth.c:575: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:581: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:585: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:586: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules': /root/archive/vpopmail-4.8.9/vauth.c:593: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:596: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:601: undefined reference to `mysql_use_result' /root/archive/vpopmail-4.8.9/vauth.c:608: undefined reference to `mysql_fetch_row' /root/archive/vpopmail-4.8.9/vauth.c:609: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp': /root/archive/vpopmail-4.8.9/vauth.c:622: undefined reference to `mysql_query' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_relay_table': /root/archive/vpopmail-4.8.9/vauth.c:631: undefined reference to `mysql_query' /root/archive/vpopmail-4.8.9/vauth.c:635: undefined reference to `mysql_store_result' /root/archive/vpopmail-4.8.9/vauth.c:636: undefined reference to `mysql_free_result' /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose': /root/archive/vpopmail-4.8.9/vauth.c:648: undefined reference to `mysql_close' collect2: ld returned 1 exit status make[1]: *** [authvchkpw] Error 1 make[1]: Leaving directory `/root/archive/sqwebmail-0.99/authlib' make: *** [all-recursive] Error 1 Thanks in advance.. //umar. (ps. I posted this to the sqwebmail list earlier - but realized that it could be pertinent to this list just then :)
