12 messages in net.sourceforge.lists.courier-users[courier-users] Re: --with-authmysql ...
FromSent OnAttachments
p dont thinkJul 9, 2002 12:01 am 
Aly DharshiJul 9, 2002 12:13 am 
cour...@pro-technica.comJul 9, 2002 12:16 am 
p dont thinkJul 9, 2002 12:27 am 
cour...@pro-technica.comJul 9, 2002 12:36 am 
Aly DharshiJul 9, 2002 12:39 am 
p dont thinkJul 9, 2002 12:48 am 
p dont thinkJul 9, 2002 12:53 am 
Sam VarshavchikJul 9, 2002 5:39 am 
Sam VarshavchikJul 9, 2002 5:41 am 
p dont thinkJul 9, 2002 8:44 am 
p dont thinkJul 14, 2002 1:52 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: --with-authmysql specified but no mysqlclient.soActions...
From:p dont think (pdon@yahoo.com)
Date:Jul 9, 2002 12:27:41 am
List:net.sourceforge.lists.courier-users

mysql-devel-3.23.41-1

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:

Hello all,

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