Installing cyrus-sasl-2.1.8 on centos to authenticate mysql

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
thabang
Posts: 19
Joined: 2009/05/12 10:32:59

Installing cyrus-sasl-2.1.8 on centos to authenticate mysql

Post by thabang » 2009/09/02 13:19:17

Hi

I have managed to install mysql and it seems like i did not install the mysqlclient:
I executed this command : # rpm -qa | grep mysql
and this was the output:
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysql-server-4.1.22-2.el4
mysqlclient10-3.23.58-4.RHEL4.1
mysql-devel-4.1.22-2.el4
mysql-server-4.1.22-2.el4
mysql-4.1.22-2.el4
After this iwanted to install cyrus-sasl-2.1.8
i downloaded it from wget wget ftp://ftp.pucpr.br/cyrus-mail/OLD-VERSIONS/sasl/cyrus-sasl-2.1.18.tar.gz and ran this tar xvf cyrus-sasl-2.1.8.tar.gz
And then export CPPFLAGS="-I/usr/include/mysql" and export LDFLAGS="-L/usr/lib/mysql -lmysqlclient -lz -lm"
When i tried to run this command:
./configure --enable-anon --enable-plain --enable-login --enable-sql --disable-krb4 --disable-otp --disable-cram --disable-digest --with-mysql=/usr/lib/mysql --without-pam --without-saslauthd --without-pwcheck --with-plugindir=/usr/local/lib/sasl2
I got this error at the end: configure: error: MYSQL libarary mysqlclient not found

Please assist what may be the problem!would somebody please help me!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Installing cyrus-sasl-2.1.8 on centos to authenticate mysql

Post by pschaff » 2009/09/02 18:45:19

Very bad idea. Please do the [url=http://www.centos.org/modules/newbb/viewforum.php?forum=47]Required reading[/url] and particularly [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] noting the disparaging words about source installs.

All that was required was "yum install cyrus-sasl" since it is a CentOS base package, and yum conveniently handles the dependencies!

Try "yum list \*mysql\* \*sasl\*" as an example of some of the available packages.

thabang
Posts: 19
Joined: 2009/05/12 10:32:59

Re: Installing cyrus-sasl-2.1.8 on centos to authenticate mysql

Post by thabang » 2009/09/04 07:35:20

Thanks for the advice i'm still going through documentation!Do you have any easy solution to implement mail server using postfix,sasl,mysql,centos,Courier IMAP!please would someone push me to the right direction

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Installing cyrus-sasl-2.1.8 on centos to authenticate mysql

Post by pschaff » 2009/09/04 13:51:07

Google[code]postfix sasl mysql IMAP "centos-4" OR el4 OR rhel4 OR "Red Hat Enterprise Linux 4"[/code]

Post Reply

Return to “CentOS 4 - Server Support”