after you make configure
inside authlib/Makefile and sqwebmail/Makefile files you should find
LDFLAGS line and add -L/usr/local/lib/mysql -lmysqlclient
I assume your mysql libs are installed at /usr/local/lib/mysql (it is if
you install mysql from freebsd ports on freebsd) if it is somewhere else
then change the path.
then make a make and it would be fine

Evren

On Sat, 26 May 2001, gokeeper wrote:

> Freebsd 4.3 stable+qmail 1.03+Vpopmail 4.9.10+SQwebmai 2.0.0
>
> when i trying to make sqwebmail...
> _______________________________________________________________________________
> /usr/src/vpopmail-4.9.10/vauth.c:879: undefined reference to `mysql_query'
> /usr/src/vpopmail-4.9.10/vauth.c:883: undefined reference to `mysql_store_result'
> /usr/src/vpopmail-4.9.10/vauth.c:884: undefined reference to `mysql_free_result'
> /usr/local/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_dir_control':
> /usr/src/vpopmail-4.9.10/vauth.c:896: undefined reference to `mysql_query'
> /usr/src/vpopmail-4.9.10/vauth.c:900: undefined reference to `mysql_store_result'
> /usr/src/vpopmail-4.9.10/vauth.c:901: undefined reference to `mysql_free_result'
> /usr/src/vpopmail-4.9.10/vauth.c:919: undefined reference to `mysql_query'
> /usr/src/vpopmail-4.9.10/vauth.c:923: undefined reference to `mysql_store_result'
> /usr/src/vpopmail-4.9.10/vauth.c:924: undefined reference to `mysql_free_result'
> /usr/local/vpopmail/lib/libvpopmail.a(vauth.o): In function `vdel_dir_control':
> /usr/src/vpopmail-4.9.10/vauth.c:934: undefined reference to `mysql_query'
> /usr/src/vpopmail-4.9.10/vauth.c:938: undefined reference to `mysql_store_result'
> /usr/src/vpopmail-4.9.10/vauth.c:939: undefined reference to `mysql_free_result'
> *** Error code 1
>
> Stop in /usr/src/sqwebmail-2.0.0/sqwebmail.
> *** Error code 1
>
> Stop in /usr/src/sqwebmail-2.0.0/sqwebmail.
> *** Error code 1
>
> Stop in /usr/src/sqwebmail-2.0.0/sqwebmail.
> *** Error code 1
>
> Stop in /usr/src/sqwebmail-2.0.0.
> /usr/src/sqwebmail-2.0.0#
> ________________________________________________________________________________
> how can i get rid of it?
> thx very much
>

Reply via email to