[jadmin] failed loading authreg module 'mysql'

Ross Cooney ross.cooney at gmail.com
Tue Jun 5 09:56:20 CDT 2007


Hi Simon & Sunil,

Thank you for your replies.

Yes, it seems that there is a problem with the configure statement.
When I put "--enable-mysql" in the statement it fails as follows:

checking for mysql_init in -lmysqlclient... no
configure: error: MySQL support requested, but headers/libraries not found.

the mysql.h file is located:
/usr/include/mysql

So I changed the configure statement to say
"--enable-mysql=/usr/include/mysql" it does not compile with mysql! It
is not listed in the confog.log!

I have tried all sorts of combinations such as:
--enable-mysql  --with-extra-include-path=/usr/include/mysql
--with-extra-library-path=/usr/include/mysql

etc

My full configure statement is:
./configure --enable-ssl --enable-idn=/usr/bin/idn --enable-mysql
--enable-debug --enable-cyrus --disable-gsasl --enable-static
--with-extra-include-path=/usr/include/mysql
--with-extra-library-path=/usr/include/mysql

I hope this helps,

Ross Cooney


More information about the JAdmin mailing list