| From | Sent On | Attachments |
|---|---|---|
| Duncan Leaf | Mar 2, 2001 10:52 pm | |
| Duncan Leaf | Mar 3, 2001 12:07 pm | |
| china.com | Mar 3, 2001 5:56 pm | |
| Duncan Leaf | Mar 3, 2001 10:41 pm | |
| James.Duanmu | Mar 3, 2001 10:56 pm |
| Subject: | [courier-users] trouble making courier-imap | |
|---|---|---|
| From: | Duncan Leaf (spac...@yahoo.com) | |
| Date: | Mar 2, 2001 10:52:18 pm | |
| List: | net.sourceforge.lists.courier-users | |
I just upgraded to vpopmail-4.9.8-1 with mysql support. Now I'm trying to make courier-imap-1.3.5.
It configured successfully with: CFLAGS=-I/usr/include/openssl LDFLAGS=-L/var/ssl/lib ./configure --prefix=/usr --sysconfdir=/etc/imap --localstatedir=/var/imap --without-authmysql
Now when I do 'make' it has trouble with mysql references:
make[1]: Entering directory `/usr/local/src/courier-imap-1.3.5/authlib' gcc -I/home/vpopmail/include -I/usr/include/openssl -Wall -I.. -I./.. -L/home/vpopmail/lib -L/var/ssl/lib -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a -lvpopmail -lm -lcrypt /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open': /usr/local/src/vpopmail-4.9.8-1/vauth.c:66: undefined reference to `mysql_init' /usr/local/src/vpopmail-4.9.8-1/vauth.c:68: undefined reference to `mysql_real_connect' /usr/local/src/vpopmail-4.9.8-1/vauth.c:70: undefined reference to `mysql_real_connect' /usr/local/src/vpopmail-4.9.8-1/vauth.c:77: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.8-1/vauth.c:82: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.8-1/vauth.c:83: undefined reference to `mysql_free_result' /usr/local/src/vpopmail-4.9.8-1/vauth.c:84: undefined reference to `mysql_select_db' /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain_size': /usr/local/src/vpopmail-4.9.8-1/vauth.c:130: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.8-1/vauth.c:134: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.8-1/vauth.c:135: undefined reference to `mysql_free_result' /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser_size': /usr/local/src/vpopmail-4.9.8-1/vauth.c:200: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.8-1/vauth.c:203: undefined reference to `mysql_query' /usr/local/src/vpopmail-4.9.8-1/vauth.c:208: undefined reference to `mysql_error' /usr/local/src/vpopmail-4.9.8-1/vauth.c:213: undefined reference to `mysql_store_result' /usr/local/src/vpopmail-4.9.8-1/vauth.c:214: undefined reference to `mysql_free_result' [... and more ...]
What's going on here? Vpopmail works with mysql, and I'm expecting that courier-imap will use authvchkpw (instead of mysql directly) following what I read somewhere.
The mysql stuff got installed into /usr/lib/mysql and /usr/include/mysql, but I've linked them to /usr/lib and /usr/include, which works fine for most 'make's.
Duncan
__________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/





