Hi I am trying to build sqwebmail rpm on my RH 6.2 Box... I've got Qmail + Vpopmail + MySQL + Qmailadmin Installed . I've copied the Sqwebmail source to /usr/src/redhat/SOURCES folder and the spec file to the SPECS folder. I've not done anything else. Now I get the following error while doing rpm -bb sqwebmail.spec r/src/redhat/SOURCES/vpopmail-4.8.9/vauth.c:608: undefined reference to `mysql_fetch_row' /usr/src/redhat/SOURCES/vpopmail-4.8.9/vauth.c:609: undefined reference to `mysql_free_result' /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp': /usr/src/redhat/SOURCES/vpopmail-4.8.9/vauth.c:622: undefined reference to `mysql_query' /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_relay_table': /usr/src/redhat/SOURCES/vpopmail-4.8.9/vauth.c:631: undefined reference to `mysql_query' /usr/src/redhat/SOURCES/vpopmail-4.8.9/vauth.c:635: undefined reference to `mysql_store_result' /usr/src/redhat/SOURCES/vpopmail-4.8.9/vauth.c:636: undefined reference to `mysql_free_result' /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose': /usr/src/redhat/SOURCES/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 `/usr/src/redhat/BUILD/sqwebmail-0.99/authlib' make: *** [all-recursive] Error 1 Bad exit status from /var/tmp/rpm-tmp.92043 (%build) [root@host2 SPECS]# Please HELP Thanx - Sumith __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/