Greetings all!
Okay, I've got a complie error that I can't get past. Here's my setup.
RedHat 7.0
vpopmail 4.9.10 using MySql 3.23.32 for its storage database
When I try compile sqwebmail 3.1.1 configured with
./configure --without-authpam --without-authuserdb --enable-webpass=no \
--without-authpwd --without-authshadow --prefix=/var/www/immediatestaffing/ \
--with-htmllibdir=/var/www/immediatestaffing/html/sqwebmail \
--enable-cgibindir=/var/www/immediatestaffing/cgi-bin/ \
--enable-imagedir=/var/www/immediatestaffing/html/images/ --without-authldap \
--enable-imageurl=/images/ --enable-webpass=vpopmail --without-authmysql \
--with-authvchkpw
I get the following error when compiling authvchkpw
gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/home/vpopmail/lib
-o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a
../sha1/libsha1.a -lvpopmail -lm -lcrypt
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
/home/downloads/Linux/new-test/temp/vpopmail-4.9.10/vauth.c:70: undefined reference to
`mysql_init'
/home/downloads/Linux/new-test/temp/vpopmail-4.9.10/vauth.c:72: undefined reference to
`mysql_real_connect'
/home/downloads/Linux/new-test/temp/vpopmail-4.9.10/vauth.c:74: undefined reference to
`mysql_real_connect'
/home/downloads/Linux/new-test/temp/vpopmail-4.9.10/vauth.c:81: undefined reference to
`mysql_query'
/home/downloads/Linux/new-test/temp/vpopmail-4.9.10/vauth.c:86: undefined reference to
`mysql_store_result'
/home/downloads/Linux/new-test/temp/vpopmail-4.9.10/vauth.c:87: undefined reference to
`mysql_free_result'
/home/downloads/Linux/new-test/temp/vpopmail-4.9.10/vauth.c:88: undefined reference to
`mysql_select_db'
This error repeats several more times for uther functions as well. I've tried
modifing my compile environment variables, compiling by hand, editing the
Makefile, etc. No Joy! Also, my MySql libs and includes are in
/usr/lib/mysql and /usr/include/mysql respectivly.
Any Ideas or help would be great!
Regards,
Michael Ethridge
MCSE, CCNA
Sr. Consultant
Enterprise Consulting Services
408-226-2902
877-488-5966 pager
---------------------------------------------------------------------------
"The Shadows have just started attacking Brakiri space, openly,
they are not hiding anymore. They are finally on the move."
-- Ivanova in Babylon 5:"Ship of Tears"