I have spent several hours diagnosing this error to no avail. I have
few previous messages about the same problem, and the suggested fixes either
don't work, or the person with the problem didn't report back how they fixed
problem. At this late hour, my frustration level is high. I would
appreciate some help on how to approach this problem:
checking for mysql_config... no
checking for mysql_connect... (cached) no
configure: error: --with-authmysql specified but no mysqlclient.so
configure: error: ./configure failed for authlib
I am on RedHat 7.2, MySQL-3.23.49a-1, MySQL-client-3.23.49a-1,
courier-imap-1.5.1, my mysql libraries/includes are in /usr/lib/mysql and
/usr/include/mysql, there is no mysql_config, nor mysqlclient.so on my
and these are the main things I have tried to (unsuccessfully) rectify this
- changing all occurances of "mysql_connect()" to "mysql_real_connect()" in
- adding the lines (yes, to the right place) to authlib/configure.in
- fussing around endlessly with CPPFLAGS and LDFLAGS
I promise to report back how I fixed it if someone can help point me in the
right direction! THANKS!
Install mysql-devel package.
On redhat 7.2 is:
[root@localhost root]# rpm -qa | grep mysql-
mysql-devel-3.23.41-1 <<- This You need installed
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free