MySQL problem

Vasili G. Yanov vasili at 4enet.by
Mon Jun 2 09:08:57 EDT 2003


 I have successfully compiled and installed
 Sendmail 8.2.19 + Cyrus Imap 2.1.9 + Cyrus SASL 2.1.7.
 I store users in sasl2.db. After all I decide store all users in
 MySQL, for this I recompile sasl2 with --with-mysql. Now when I try to
 authorize I get error:
 unable to dlopen /usr/lib/sasl2//libmysql.so: /usr/lib/sasl2//libmysql.so: Undefined symbol "mysql_connect"

 my /usr/lib/Sasl2/Cyrus.conf:

pwcheck_method: auxprop
auxprop_plugin: mysql
mysql_user:     imapd
mysql_passwd:   imap_pass
mysql_hostnames:        172.16.1.2
mysql_database: mail
mysql_statment: select password from acc_user where username='%u'
mysql_verbose:  true

 Whats wrong?

Thanks in advance.






More information about the Info-cyrus mailing list