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

-------------------------------------------
Daniel Kafka, Web Project Manager
Prvni Multimedialni s.r.o.
Na vinici 31, Praha 10, 100 00
[EMAIL PROTECTED]
Tel.: +420 2/74 77 99 17, fax: +420 2 74 77 15 18

Reply via email to