My fix:
Edit authlib/Makefile
look for the line like
CRYPTLIBS = -lcrypt
change it to
CRYPTLIBS = -lcrypt -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm

(I copied the extra info from the MYSQL_LIBS line further down the Makefile)

I don't know if this is what your supposed to do but it worked for me.
I guess this MYSQL_LIBS line isn't getting appended where it should.

-----Original Message-----
From: Drew Linsalata [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 2:48 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: sqwebmail 2.0 compile problem (MySQL support w/vpopmail?)


Hi folks,

Not sure if this is a Sqwebmail or Vpopmail problem, but we have Vpopmail
4.9.8-1 running with MySQL support on a FreeBSD box and when we try to
compile Sqwebmail 2.0.0, we get a slew of the following errors:

/usr/local/src/qmail/vpopmail-4.9.8-1/vauth.c(.text+0x1592): undefined
reference to `mysql_query'
/usr/local/src/qmail/vpopmail-4.9.8-1/vauth.c(.text+0x15a6): undefined
reference to `mysql_store_result'
/usr/local/src/qmail/vpopmail-4.9.8-1/vauth.c(.text+0x15b4): undefined
reference to `mysql_free_result'

Here's our sqwebmail configure command:

./configure --without-authpwd --without-authshadow --without-authpam
--without-authuserdb --without-authldap --without-authdaemon
--enable-cgibindir=/home/www/public_html/cgi-bin
--enable-imagedir=/home/www/public_html/images
--enable-imageurl=/images/webmail/ --enable-webpass=no
--enable-softtimeout=7200 --enable-hardtimeout=36000

Any ideas?

Drew Linsalata
The Gotham Bus Company
Internet Server and Carrier Neutral Co-Location
http://www.gothambus.com


Reply via email to