This might help:

----- Original Message ----- 
From: "Einar Bordewich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 3:29 AM
Subject: Problems with sqwebmail-0.99 and courier-imap-0.99?


> I had some problems with compiling sqwebmail-0.99 and courier-imap-0.99
> against vpopmail-4.8.7 with mySQL support (vclose).
> 
> This resolved my problems:
> env LIBS="-L/usr/lib/mysql -lmysqlclient" ./configure \
> --enable-cgibindir=/usr/local/httpd/cgi-bin/ \
> --enable-imagedir=/usr/local/httpd/htdocs/images/sqwebmail/ \
> --enable-imageurl=/images/sqwebmail/ \
> --enable-sqlincdir=/usr/include/mysql \
> --enable-sqllibdir=/usr/lib/mysql \
> --without-authpam \
> --without-authuserdb \
> --without-authpwd \
> --without-authshadows \
> --without-authmysql \
> --enable-webpass=vpopmail \
> --enable-logincache \
> --with-cachedir \
> --enable-hardtimeout=3600
> 
> The trick was the 'env LIBS="-L/usr/lib/mysql -lmysqlclient"' in front of
> the configure command.
> 
> BTW: qmailadmin-0.34 also needed this litle trick...

-- 
--------------------------------------------
IDG New Media     Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:           [EMAIL PROTECTED]
--------------------------------------------

----- Original Message ----- 
From: "Sumith Ail" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, September 09, 2000 1:47 PM
Subject: CourierIMAP comp Error


> Dear All,
> 
> I am getting the following error while compiling
> Courier IMAP on my RH 6.2 which has
> Qmail+mysql+vpopmail+qmailadmin
> 
> Any Help would be appreciated.
> 
> Best Regards
> Sumith Ail
> 
> r/src/redhat/SOURCES/vpopmail-4.9.2/vauth.c:608:
> undefined reference to `mysql_fetch_row'
> /usr/src/redhat/SOURCES/vpopmail-4.9.2/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.9.2/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.9.2/vauth.c:631:
> undefined reference to `mysql_query'
> /usr/src/redhat/SOURCES/vpopmail-4.9.2/vauth.c:635:
> undefined reference to `mysql_store_result'
> /usr/src/redhat/SOURCES/vpopmail-4.9.2/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.9.2/vauth.c:649:
> undefined reference to `mysql_close'
> collect2: ld returned 1 exit status
> make[1]: *** [authvchkpw] Error 1
> make[1]: Leaving directory
> `/usr/src/redhat/SOURCES/courier-imap-0.99/authlib'
> make: *** [all-recursive] Error 1
> [sumith@host2 courier-imap-0.99]$
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
> 

Reply via email to