Hi

I couldn't install sqwebmail-1.0xxx with rh70. I'm trying to rebuild a rpm
from a .spec file. Before run this I installed mysql-3.23.22 (from RedHat
distribution) and vpopmail-4.9.4, the system goes but I couldn't 'make' the
binaries in authlib directory.

I suppose it's a problem with mysql configuration in rh70. 

Please, any could help me. Thanks.

Below a part of the error output:


...

cd sqwebmail-1.0.0.20001007
+ make
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:59: undefined reference to
`mysql_init'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:61: undefined reference to
`mysql_real_connect'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:63: undefined reference to
`mysql_real_connect'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:70: undefined reference to
`mysql_query'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:75: undefined reference to
`mysql_store_result'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:76: undefined reference to
`mysql_free_result'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:77: undefined reference to
`mysql_select.

...

`vcreate_relay_table':
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:604: undefined reference to
`mysql_query'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:608: undefined reference to
`mysql_store_result'
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:609: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:623: undefined reference to
`mysql_close'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules':
/root/redhat/SOURCES/vpopmail-4.9.4/vauth.c:582: undefined reference to
`mysql_free_result'
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.50715 (%build)

Reply via email to