I guess I should have clarified more. The vpopmail authentication is
working fine and compiled fine, I did edit vmysql.h with my mysql password,
I think the qmailadmin compilation problem is a bug in the qmailadmin code
nothing to do with vpopmail.
I am using mysql 3.22.32
I saw someone else had posted similar mysql errors when compiling 0.35.
Ken, any ideas?
Thanks,
Scott
Balaji Hare Ram Balaji writes:
> use mysql 3.22
> and edit the vmysql.h and give proper inforamtion
>
> for more info open README.mysql and follow the steps
>
> balaji
>
> Scott Ramshaw wrote:
>
> > I'm having trouble compiling qmailadmin 0.35 on FreeBSD 4.0
> >
> > using vpopmail 4.8.9:
> >
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
> > /home/scott/src/vpopmail-4.8.9/vauth.c:59: undefined reference to
> > `mysql_init'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:61: undefined reference to
> > `mysql_real_connect'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:63: undefined reference to
> > `mysql_real_connect'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:70: undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:75: undefined reference to
> > `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:76: undefined reference to
> > `mysql_free_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:77: undefined reference to
> > `mysql_select_db'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_adddomain_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x1b6): undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x439): undefined reference to
> > `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x447): undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c:227: undefined reference to
> > `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:232: undefined
> > reference to `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:247: undefined reference to
> > `mysql_fetch_row'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:256: undefined reference to
> > `mysql_free_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:259: undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_deldomain_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x72e): undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x742): undefined reference to
> > `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x750): undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_deluser_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x802): undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x816): undefined reference to
> > `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x824): undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_setquota_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x8e2): undefined reference to
> > `mysql_query'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_vpasswd_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x9c7): undefined reference to
> > `mysql_query'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getall_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xaa1): undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xac1): undefined reference to
> > `mysql_use_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xb24): undefined reference to
> > `mysql_fetch_row'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xb3e): undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setpw_size':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xd21): undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xd35): undefined reference to
> > `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xd43): undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vopen_smtp_relay':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xdbe): undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xded): undefined reference to
> > `mysql_query'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xe16): undefined reference to
> > `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xe24): undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules':
> > /home/scott/src/vpopmail-4.8.9/vauth.c:566: undefined reference to
> > `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:569: undefined
> > reference to `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:574:
> > undefined reference to `mysql_use_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:581: undefined reference to
> > `mysql_fetch_row'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:582: undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xf76): undefined reference to
> > `mysql_query'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vcreate_relay_table':
> > /home/scott/src/vpopmail-4.8.9/vauth.c:604: undefined reference to
> > `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:608: undefined
> > reference to `mysql_store_result'
> > /home/scott/src/vpopmail-4.8.9/vauth.c:609: undefined reference to
> > `mysql_free_result'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x1017): undefined reference
> > to `mysql_close'
> > *** Error code 1
> >
> > I don't see any config params for mysql libraries, but vpopmail doesn't
> > seem to have any problems.
> >
> > my ./configure line is:
> >
> > ./configure --enable-cgibindir=/usr/local/apache/cgi-bin
> > --enable-ezmlmdir=/usr/local/bin/ezmlm
> > --enable-autoresponder-bin=/usr/local/bin/autorespond
> > --enable-maxpopusers=5 --enable-maxaliases=5 --enable-maxforwards=5
> > --enable-maxautoresponders=5 --enable-maxmailinglists=5
> >
> > Help please! I need to get rid of that nasty pre .35 autoresponder
> > deleting domains bug!
> >
> > Thanks,
> > Scott
> >
> > ---------------------------------------------------------------------------
> > Get your free email at http://quickmail.quickhosts.com
>
---------------------------------------------------------------------------
Get your free email at http://quickmail.quickhosts.com