You have to set the environment to pick up the library paths before running
the configure script. See FAQ No. 28 in the new vpopmail. i.e.
28. How do I compile sqwebmail with vpopmail and mysql?
At the begining of your sqwebmail configure add this:
env "LIBS=-L/usr/lib/mysql -lmysqlclient -lz" \
./configure ......
This tells the sqwebmail Makefile to include the mysql libraries and
path to the libraries. Modify the above path if you have installed
mysql libraries in a different location.
Faruque
At 11:33 AM 6/27/01 -0400, KEnet Webmaster wrote:
>I will be replying to the previous queries re: support tonight.
>
>In the meantime, here is a problem I have run into with sqwebmail being
>setup.
>
>e/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setquota_size':
>/home/archives/vpopmail-4.9.10/vauth.c:363: undefined reference to
>`mysql_query'
>/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_vpasswd_size':
>/home/archives/vpopmail-4.9.10/vauth.c:404: undefined reference to
>`mysql_query'
>/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getall_size':
>/home/archives/vpopmail-4.9.10/vauth.c:445: undefined reference to
>`mysql_free_result'
>/home/archives/vpopmail-4.9.10/vauth.c:448: undefined reference to
>`mysql_query'
>/home/archives/vpopmail-4.9.10/vauth.c:453: undefined reference to
>`mysql_use_result'
>/home/archives/vpopmail-4.9.10/vauth.c:467: undefined reference to
>`mysql_fetch_row'
>/home/archives/vpopmail-4.9.10/vauth.c:479: undefined reference to
>`mysql_free_result'
>/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setpw_size':
>/home/archives/vpopmail-4.9.10/vauth.c:547: undefined reference to
>`mysql_query'
>/home/archives/vpopmail-4.9.10/vauth.c:552: undefined reference to
>`mysql_store_result'
>/home/archives/vpopmail-4.9.10/vauth.c:553: undefined reference to
>`mysql_free_result'
>/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vopen_smtp_relay':