I figured out a fix to this from looking at previous postings. Here is what you need to do. run ./configure [your options] vi (edit) authlib/Makefile find the line that looks like this CRYPTLIBS = -lcrypt make it look like this CRYPTLIBS = -lcrypt -L/usr/lib/mysql -lmysqlclient -lz Then compile and it should work. I edit this variable because it is included in the areas needed. I did the samething with Courier-IMAP to get it to compile also. Hope this helps Mark
----- Original Message ----- From: Sebastian Grewing Sent: Saturday, January 20, 2001 10:45 AM To: Mark Steller Subject: RE: sqwebmail (vpopmail 4.9.7+mysql) compile fails
Hi, I got the same error. Do get an answer about your qustion? I don't know what I can do any more. Is your system running now? What have you done? mfg Sebastian Grewing I installed vpopmail with mysql support and qmailadmin no problems works good. Now I want to get sqwebmail 1.2.1 running, but have problem around the authlib part. I even tried sqwebmail 1.1.2 both with same results. I run: ./configure --with-htmllibdir=/usr/local/share/sqwebmail --with-cachedir=/var/cache/sqwebmail --enable-webpass=vpopmail --libexecdir=/usr/libexec/sqwebmail --enable-cgi-bindir=/opt/www/cgi-bin --enable-imagedir=/opt/www/htdocs/webmail --enable-imageurl=/webmail --with-cacheowner=root --sysconfdir=/usr/local/share/sqwebmail make . /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open': /root/src/email/vpopmail-4.9.7/vauth.c:66: undefined reference to `mysql_init' /root/src/email/vpopmail-4.9.7/vauth.c:68: undefined reference to `mysql_real_connect' ... ... /root/src/email/vpopmail-4.9.7/vauth.c:910: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status I have even tried a suggestion to add -L/usr/lib/mysql -lmysqlclient to the Makefile's LDFLAGS in ./authlib and ./sqwebmail, but this didn't change any of the output. My system config: RedHat7.0 MySQL-3.23.30-1.i386.rpm MySQL-devel-3.23.30-1.i386.rpm Thanks Mark
|