On 2000-10-28, at 18:37:42, Cesar Augusto wrote:
> hello,
> Is Qmailadmin compatible with vpopmail+mysql?
> When I try to compile it, lots of error messages appear, what seams to be
> related with vpopmail compiled with Mysql support.
> some errors:
> /vpopmail-4.9.4/vauth.c:609: undefined reference to `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp':
> /vpopmail-4.9.4/vauth.c:622: undefined reference to `mysql_query'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vcreate_relay_table':
> /vpopmail-4.9.4/vauth.c:631: undefined reference to `mysql_query'
> /vpopmail-4.9.4/vauth.c:635: undefined reference to `mysql_store_result'
> /vpopmail-4.9.4/vauth.c:636: undefined reference to `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> /vpopmail-4.9.4/vauth.c:650: undefined reference to `mysql_close'
> collect2: ld returned 1 exit status
> make[2]: *** [qmailadmin] Error 1
> make[2]: Leaving directory `/qmailadmin-0.38'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/qmailadmin-0.38'
> make: *** [all-recursive-am] Error 2
> any sugestions?
> Thanks.
sure... :)
vi Makefile
find '-l'
and on the end of this line add:
-L/usr/local/mysql/lib/mysql -lmysqlclient
if you have MySQL located in other directory than /usr/local/mysql
change it to yours :)
--
regards,
Sylwester S. Biernacki <[EMAIL PROTECTED]>