CentOS Plus repo already has the postfix-SQL rpm. Go into /etc/yum.repo/CentOS.repo file and exclude postfix under Base and Updates. Then run yum --enablerepo=centosplus install postfix - this will install the version you need without having to compile.
Regards On Mar 7, 2012, at 6:59 PM, Scott Brown <scottwb...@yahoo.com> wrote: > I want to use MySQL to manage the virtual table within Postfix. So it's not > that I want to just have MySQL and Postfix on the server as separate > applications. I want the MySQL-enhanced version of Postfix. > > > ----- Original Message ----- > From: Reindl Harald <h.rei...@thelounge.net> > To: postfix-users@postfix.org > Cc: > Sent: Wednesday, March 7, 2012 6:55 PM > Subject: Re: Installing postfix with mysql > > > > Am 08.03.2012 00:46, schrieb Scott Brown scottwb...@yahoo.com: >> Hello, >> I am trying to install Postfix with mysql on CentOS 6.0. >> I am trying to follow the instructions at >> http://www.postfix.org/MYSQL_README.html >> I downloaded the mysql libraries and source code. > > why? > > "yum install mysql-devel" > >> The libmysql was extracted to >> /usr/local/mysql-connector-c-6.0.2-linux-glibc2.3-x86-32bit > > AFAIK this is not mysql-devel > >> When I try to run make install, I get this error: >> bin/postconf: error while loading shared >> libraries: libmysql.so.16: cannot open shared object file: No such file or >> directory > > use as much system-packages as you can in as much default locations as > possible!