![](https://secure.gravatar.com/avatar/9107f2e4c282b9136cc7ff0d527377c2.jpg?s=120&d=mm&r=g)
Ok, after doing a few more changes, I have gotten a sucessful build of
MariaDB on RHEL 6. In order to get this done, I had to download this
file and set it as Source1:
mysql-libs-5.1.52-1.el6_0.1.i686.rpm
This is the libs from scientific linux. I chose this because of
scientific linux's decision to not mess to much with RHEL. The only
thing that will be a problem will be postfix. The problem comes when
you try to re-install it. Postfix requires mysql-libs and has been
built against mysql-libs that comes with RHEL 6.
On Fri, Jul 22, 2011 at 8:02 AM, bwellsnc
After a little bit more tinkering, I was able to build the rpm's. The problem is that RHEL 6 has a built in dependency for mysql-libs which caused the install to fail. It's trying to find libmysqlclient.so.16. This also causes another problem, postfix. Postfix is the default on RHEL 6 and it's been built with mysql. So if you remove mysql-libs it removes postfix. CentOS has purposely taken out the mysql requirement in there version of postfix, so this shouldn't be a problem. Scientific Linux and RHEL keep it.
On Thu, Jul 21, 2011 at 5:01 PM, bwellsnc
wrote: Thanks adam. I will take a look. Probably something simple I missed. Thanks again.
On Jul 21, 2011 5:00 PM, "Adam M. Dutko"
wrote: I poked on this problem a little bit today and was able to generate RPMs. I didn't have time to test the built RPMs.
I posted my notes at http://www.oktud.com/mariadb/fix-mariadb-rpm-rhel6.notes and the spec file at http://www.oktud.com/mariadb/mysql52-ourdelta-centos.spec .
Again, installation of the resultant RPM was not tested.
-Adam