Hi,
I'm trying to
compile sqwebmail-1.1.2 (on Linux Redhat 6.2,
vpopmail-4.8.2)
My (simplified)
configure script looks like :
./configure
--enable-mysql=y
--with-authvchkpw
Compilation fails
on authlib (autchkpw) - I assume it cannot find mysql
libraries.
(which I have in
/usr/local/lib/mysql/ na header files in
/usr/local/include/mysql/)
Path to
/usr/local/include/mysql/ is in my /etc/ld.so.conf and I reran
ldconfig.
How can I
add this include?
Making
all in authlib
make[1]: Entering directory `/home/dan/sqwebmail-1.1.2/authlib' gcc -I/mail/include -g -O2 -Wall -I.. -I./.. -L/mail/lib -o authvchkpw modaut hvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a -lvpopmail -lm -lcrypt libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre': /home/dan/sqwebmail-1.1.2/authlib/preauthvchkpw.c:86: undefined reference to `open_smtp_relay' /mail/lib/libvpopmail.a(vauth.o): In function `vauth_open': /home/dan/vpopmail-4.9/vauth.c:59: undefined reference to `mysql_init' /home/dan/vpopmail-4.9/vauth.c:61: undefined reference to
`mysql_real_connect'
/home/dan/vpopmail-4.9/vauth.c:63: undefined reference to `mysql_real_connect' Thank you for help
:)
Sincerely, daniel
kafka
------------------------------------------- |
- sqwebmail quth problem Jürgen Hoffmann
- Daniel Kafka