← Back to team overview

maria-discuss team mailing list archive

Re: Help with RPM src build


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:


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 <bwellsnc@xxxxxxxxx> wrote:
> 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 <bwellsnc@xxxxxxxxx> 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" <dutko.adam@xxxxxxxxx> 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