As it seems to me, the problem isn't actually in the libvpopmail.a but in
mysql; it can't find any mysql function. Make sure about the paths to mysql
libraries before compiling sqwebmail.
Esteban Javier Pr�spero
> -----Original Message-----
> From: Ricardo A. Falasca [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, October 23, 2000 9:48 AM
> To: [EMAIL PROTECTED]
> Subject: vpopmail+MySQL+sqwebmail
>
> Hi peoples,
>
> I�m using vpopmail + mysql and need use sqwebmail, but it�s my
> problem!
> I try compile sqwebmail but he say error at libvpopmail.a.
> see bellow the errors!
>
> Sorry to bad english!
> Thanks..
>
> gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o sqwebmail
> addressboo
> k.o attachments.o auth.o buf.o filter.o folder.o html.o logincache.o
> mailfilter
> .o maildir.o newmsg.o newmsg_create.o newmsg_newdraft.o pref.o
> sqconfig.o sqwe
> bmail.o token.o ldaplist.o ../maildir/libmaildir.a
> ../rfc2045/librfc2045.a
> ../rfc822/librfc822.a ../http11/libhttp11.a ../cgi/libcgi.a
> ../authlib/libau
> th.a ../ldapaddressbook/libaddressbook.a
> ../random128/librandom128.a ../m
> d5/libmd5.a ../numlib/libnumlib.a ../bdbobj/libbdbobj.a `cat
> ../authlib/li
> bauth.dep` -lcrypt -L/home/vpopmail/lib -lvpopmail -lm -lcrypt
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
> /root/vpopmail-4.9.4/vauth.c:59: undefined reference to `mysql_init'
> /root/vpopmail-4.9.4/vauth.c:61: undefined reference to
> `mysql_real_connect'
> /root/vpopmail-4.9.4/vauth.c:63: undefined reference to
> `mysql_real_connect'
> /root/vpopmail-4.9.4/vauth.c:70: undefined reference to `mysql_query'
> /root/vpopmail-4.9.4/vauth.c:75: undefined reference to
> `mysql_store_result'
> /root/vpopmail-4.9.4/vauth.c:76: undefined reference to
> `mysql_free_result'
> /root/vpopmail-4.9.4/vauth.c:77: undefined reference to `mysql_select_db'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_adddomain_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0x1b6): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0x1e9): undefined reference to
> `mysql_store_r
> esult'
> /root/vpopmail-4.9.4/vauth.c(.text+0x1f7): undefined reference to
> `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_adduser_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0x3b8): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0x3e6): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0x42d): undefined reference to
> `mysql_store_r
> esult'
> /root/vpopmail-4.9.4/vauth.c(.text+0x43b): undefined reference to
> `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw_size':
> /root/vpopmail-4.9.4/vauth.c:227: undefined reference to `mysql_query'
> /root/vpopmail-4.9.4/vauth.c:232: undefined reference to
> `mysql_store_result'
> /root/vpopmail-4.9.4/vauth.c:247: undefined reference to `mysql_fetch_row'
> /root/vpopmail-4.9.4/vauth.c:256: undefined reference to
> `mysql_free_result'
> /root/vpopmail-4.9.4/vauth.c:259: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_deldomain_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0x72e): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0x742): undefined reference to
> `mysql_store_r
> esult'
> /root/vpopmail-4.9.4/vauth.c(.text+0x750): undefined reference to
> `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_deluser_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0x802): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0x816): undefined reference to
> `mysql_store_r
> esult'
> /root/vpopmail-4.9.4/vauth.c(.text+0x824): undefined reference to
> `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_setquota_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0x8e2): undefined reference to
> `mysql_query'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_vpasswd_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0x9c7): undefined reference to
> `mysql_query'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_getall_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0xaa1): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0xac1): undefined reference to
> `mysql_use_res
> ult'
> /root/vpopmail-4.9.4/vauth.c(.text+0xb24): undefined reference to
> `mysql_fetch_r
> ow'
> /root/vpopmail-4.9.4/vauth.c(.text+0xb3e): undefined reference to
> `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setpw_size':
> /root/vpopmail-4.9.4/vauth.c(.text+0xd21): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0xd35): undefined reference to
> `mysql_store_r
> esult'
> /root/vpopmail-4.9.4/vauth.c(.text+0xd43): undefined reference to
> `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vopen_smtp_relay':
> /root/vpopmail-4.9.4/vauth.c(.text+0xdbe): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0xded): undefined reference to
> `mysql_query'
> /root/vpopmail-4.9.4/vauth.c(.text+0xe16): undefined reference to
> `mysql_store_r
> esult'
> /root/vpopmail-4.9.4/vauth.c(.text+0xe24): undefined reference to
> `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules':
> /root/vpopmail-4.9.4/vauth.c:566: undefined reference to `mysql_query'
> /root/vpopmail-4.9.4/vauth.c:569: undefined reference to `mysql_query'
> /root/vpopmail-4.9.4/vauth.c:574: undefined reference to
> `mysql_use_result'
> /root/vpopmail-4.9.4/vauth.c:581: undefined reference to `mysql_fetch_row'
> /root/vpopmail-4.9.4/vauth.c:582: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp':
> /root/vpopmail-4.9.4/vauth.c(.text+0xf66): undefined reference to
> `mysql_query'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vcreate_relay_table':
> /root/vpopmail-4.9.4/vauth.c:604: undefined reference to `mysql_query'
> /root/vpopmail-4.9.4/vauth.c:608: undefined reference to
> `mysql_store_result'
> /root/vpopmail-4.9.4/vauth.c:609: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> /root/vpopmail-4.9.4/vauth.c(.text+0x101a): undefined reference to
> `mysql_close'
> *** Error code 1
>
> Stop in /root/sqwebmail-1.0.1/sqwebmail.
> *** Error code 1
>
> Stop in /root/sqwebmail-1.0.1/sqwebmail.
> *** Error code 1
>
> Stop in /root/sqwebmail-1.0.1/sqwebmail.
> *** Error code 1
>
> Stop in /root/sqwebmail-1.0.1.