Hey...

Ive compiled my vpopmail to support mysql, and it's ok.. When iv'e add a 
vdomain it gets in the database and it look allright! Even iv'e tryed my Qmail-
Pop3 against it, and it login correct.

So no probs in my vpopmail og Qmail-pop3 the Qmail-send is also ok. But thats 
not the issue.

Now when ive try to compile the imap server when it comes to authlib (where it 
gets vauth.c it makes a hole lot of errors. It looks like it can't get a hold 
at the mysql libs. But iv'e tryed everything!!!

1) Copyed all the libs to at place where the gcc looked.
2) Exported LDFLAGS with correct path to mysql libs
3) makes my own vpopmail.a lib with mysql inside.
4) done alle of this for /usr/local/src/vpopmail to
5) done alle of this for /usr/local/src/courier-imap to

But still it keeps make this damn compile error when it gets to authlib.

Iv'e search all the maillists and archives and found alot of help pointing to 
this error. Even when iv'e compiled the qmailadmin iv'e got the same error, but 
solved it with the LIBS = -L/usr/lib and so on.... so now the only thing 
stopping me is the imap server ;) and thats kind of important hehe...

make...
after along nice "clean" compile....
<snip of compile time>

make  all-am
make[1]: Entering directory `/usr/local/src/courier-imap-1.6.1/authlib'
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..  -L/usr/lib -o 
authvchkpw  modauthvchkpw.o libauthmod.a 
libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -
L/home/vpopmail/lib -lvpopmail -lm -lcrypt
/usr/lib/libvpopmail.a(vauth.o): In function `vauth_open_update':
/usr/local/src/vpopmail-5.2.1/vauth.c:108: undefined reference to `mysql_init'
/usr/local/src/vpopmail-5.2.1/vauth.c:111: undefined reference to 
`mysql_real_connect'
/usr/local/src/vpopmail-5.2.1/vauth.c:115: undefined reference to `mysql_error'
/usr/local/src/vpopmail-5.2.1/vauth.c:121: undefined reference to 
`mysql_real_connect'
/usr/local/src/vpopmail-5.2.1/vauth.c:126: undefined reference to `mysql_error'
/usr/local/src/vpopmail-5.2.1/vauth.c:135: undefined reference to `mysql_query'
/usr/local/src/vpopmail-5.2.1/vauth.c:140: undefined reference to `mysql_error'
/usr/local/src/vpopmail-5.2.1/vauth.c:143: undefined reference to 
`mysql_store_result'
/usr/local/src/vpopmail-5.2.1/vauth.c:144: undefined reference to 
`mysql_free_result'
/usr/local/src/vpopmail-5.2.1/vauth.c:147: undefined reference to 
`mysql_select_db'

<snip of compile time>
.. 
And i keeps on doing this for as long as vauth.c has a function with mysql 
commands....

Im almoste certain what the problem is, but i just cant figure out where to but 
the patch's/libs/mysql/includes and so on, need some help!!

Or if the porbs not in my imap but located somewhere else?

Regards 
David Bj�rnsten-Lindhard
[EMAIL PROTECTED]


-------------------------------------------------
This mail sent through IMP: webmail.darknet.dk


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to