Hi,
just to forward to solution for this problem:
Thanks to Ken Jones from inter7.com, who send me an e-mail with the
answer (now I must say a real simple one, of course). Here is the answer:
> > /home/download/vpopmail-4.8.5/vauth.c:624: undefined reference to
> > `mysql_free_re sult'
> > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> > /home/download/vpopmail-4.8.5/vauth.c:636: undefined reference to
> > `mysql_close' collect2: ld returned 1 exit status
> > make[2]: *** [qmailadmin] Error 1
> > make[2]: Leaving directory `/home/download/qmailadmin-0.32'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/download/qmailadmin-0.32'
> > make: *** [all-recursive-am] Error 2
>
> I got the same compiler error message and am unable to compile qmailadmin.
Ken Jones wrote:
-------------
You probably need to edit the qmailadmin Makefile to
add the -L/path-to-mysql-libs and -lmysqlclient
That should fix it.
The next versions of qmailadmin should automatically
pick up the path and libs from the vpopmail configuration.
But.. it's not ready yet ;]
-------------
I changed this line and added the mysql definitions:
COMMONLDADD = -L/home/vpopmail/lib -lvpopmail -L/usr/include/mysql \
-L/usr/lib/mysql -lmysqlclient
With this qmailadmin can be compiled successfully.
Thomas