|p dont think||Jul 9, 2002 12:01 am|
|Aly Dharshi||Jul 9, 2002 12:13 am|
|cour...@pro-technica.com||Jul 9, 2002 12:16 am|
|p dont think||Jul 9, 2002 12:27 am|
|cour...@pro-technica.com||Jul 9, 2002 12:36 am|
|Aly Dharshi||Jul 9, 2002 12:39 am|
|p dont think||Jul 9, 2002 12:48 am|
|p dont think||Jul 9, 2002 12:53 am|
|Sam Varshavchik||Jul 9, 2002 5:39 am|
|Sam Varshavchik||Jul 9, 2002 5:41 am|
|p dont think||Jul 9, 2002 8:44 am|
|p dont think||Jul 14, 2002 1:52 am|
|Subject:||[courier-users] Re: --with-authmysql specified but no mysqlclient.so|
|Date:||Jul 9, 2002 12:36:40 am|
p dont think writes:
is already there, but none of the others you've got.
I have instead:
MySQL-client-3.23.49a-1 MySQL-3.23.49a-1 MySQL-shared-3.23.49-1 mysql-devel-3.23.41-1
Is the spelling (case) an issue?
Also, I read somewhere that mysql_config is found in mysql-server, but elsewhere I read that that is not the actual problem...
Thanks for further advice (I'm going to bed for now ;>)
--- cour...@pro-technica.com wrote:
p dont think writes:
I have spent several hours diagnosing this error to no avail. I have found a 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 the problem. At this late hour, my frustration level is high. I would SINCERELY 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 system and these are the main things I have tried to (unsuccessfully) rectify this situation:
- changing all occurances of "mysql_connect()" to "mysql_real_connect()" in authlib/configure
- adding the lines (yes, to the right place) to authlib/configure.in else MYSQL_LIBS="-lmysqlclient"
- 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-3.23.41-1 php-mysql-4.0.6-7 mod_auth_mysql-1.11-1 mysql-devel-3.23.41-1 <<- This You need installed mysql-server-3.23.41-1
-- Svetozar Mihalov
__________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
That's all from my redhat 7.2 server where courier compiles fine and works from year and half:
[root@localhost root]# locate mysql_config /usr/bin/mysql_config [root@localhost root]# rpm -qf /usr/bin/mysql_config mysql-3.23.41-1 [root@localhost root]# locate mysqlclient.so /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient.so.9.0.0 /usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient.so.9 [root@localhost root]# rpm -qf /usr/lib/mysql/libmysqlclient.so mysql-devel-3.23.41-1 [root@localhost root]# rpm -qa | grep mysql mysql-3.23.41-1 mysqlclient9-3.23.22-6 php-mysql-4.0.6-7 mod_auth_mysql-1.11-1 mysql-devel-3.23.41-1 mysql-server-3.23.41-1
Hope this helps.
-- Svetozar Mihailov