Hi,
Im trying to compile courier-authlib-0.58 on FC5 with these options:

./configure --prefix=/usr/local/courier-authlib --without-authpam   
--without-authldap   --without-authpwd   --without-authmysql   
--without-authpgsql   --without-authshadow   --without-authuserdb   
--without-authcustom   --without-authcram   --without-authpipe   
--with-authvchkpw --with-redhat

Can compile without a problem but after launching the service, I get the 
following in /var/log/maillog:
Jun  1 18:43:21 tom authdaemond: modules="authvchkpw", daemons=5
Jun  1 18:43:21 tom authdaemond: Installing libauthvchkpw
Jun  1 18:43:21 tom authdaemond: 
/usr/local/courier-authlib/lib/courier-authlib/libauthvchkpw.so.0: 
undefined symbol: __builtin_delete

The auth doesnt work at all. Detailed debuging:
Jun  1 18:42:09 tom imapd: Connection, ip=[::ffff:127.0.0.1]
Jun  1 18:42:16 tom authdaemond: received auth request, service=imap, 
authtype=login
Jun  1 18:42:16 tom authdaemond: FAIL, all modules rejected
Jun  1 18:42:16 tom imapd: LOGIN FAILED, user=arthur, ip=[::ffff:127.0.0.1]

What I did after all that was tried to compile with static libraries 
like that:
./configure   --prefix=/usr/local/courier-authlib   --without-authpam   
--without-authldap   --without-authpwd   --without-authmysql   
--without-authpgsql   --without-authshadow   --without-authuserdb   
--without-authcustom   --without-authcram   --without-authpipe   
--with-authvchkpw --enable-static --disable-shared --with-redhat

make gives me these errors:
Linking authdaemondprog
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o): In function 
`yaSSL::RandomPool::~RandomPool(void)':
(.text+0x12a6): undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o): In function 
`yaSSL::Integer::~Integer(void)':
(.text+0x1b86): undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o): In function 
`yaSSL::DiffieHellman::~DiffieHellman(void)':
(.text+0x1ec6): undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o): In function 
`yaSSL::DES::DESImpl::~DESImpl(void)':
(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x26): undefined reference to 
`__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o): In function 
`yaSSL::AES::AESImpl::~AESImpl(void)':
(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x71): undefined reference to 
`__builtin_delete'
.... [more stuff here] ...
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o):(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc):
 
undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o):(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28):
 
more undefined references to `__pure_virtual' follow
collect2: ld returned 1 exit status
make[2]: *** [authdaemondprog] Error 1
make[2]: Leaving directory `/usr/src/courier-authlib-0.58'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/courier-authlib-0.58'
make: *** [all] Error 2

It's obvious that, somehow, the errors have to do with mysql client 
libraries but I dont have a clue how to get things working. Im using 
MySQL 5.0.21.
Thanks for any ideas,
Arthur


_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to