From: | Martín Marqués <martin(at)2ndquadrant(dot)com> |
---|---|
To: | Markus Renner <markus(at)rhm(dot)de> |
Cc: | pgsql-general(at)postgresql(dot)org, bernd(at)rhm(dot)de, Gerhard Wanderer <gerhard(at)rhm(dot)de> |
Subject: | Re: multilib environment with postgresql92 from CentOS-repos? (9.2.4) |
Date: | 2013-06-16 19:15:02 |
Message-ID: | 51BE0EB6.4060103@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
El 09/06/13 18:15, Markus Renner escribió:
> Hello everybody,
>
> since postgresql 9.2.x it seems such 32bit libs are gone for 64bit
> hosts on repository-level. In other words. They are not install-able
> via yum. I've recently installed postgresql92* from
> pgdg-centos92-repository. I used pgdg-centos92-9.2-6.noarch to setup
> the repo. We still must compile 32bit applications on some machines
> in the foreseeable future.
>
> That applies for CentOS 6.4 and CentOS 5.9 with 64bit architecture.
> Is there a way to install such libs without building a custom rpm.
> Preferably over yum. We are looking for a easy way to deliver these
> 32bit libs to large number of servers. I only need one package named
> postgresql-libs.i686.
I can only suggest you install PGDG repo, copy the PGDG repo and edit
the baseurl, and disable it:
# cp /etc/yum.repos.d/pgdg-92-fedora.repo
/etc/yum.repos.d/pgdg-92-fedora.386.repo
Change in /etc/yum.repos.d/pgdg-92-fedora.386.repo the baseurl line, the
enabled line and the tag at the beginning to (remove the source repo
that is below, or change it to an appropriate value):
[pgdg92-i386]
baseurl=http://yum.postgresql.org/9.2/fedora/fedora-$releasever-i386
enabled=0
Then you can install the rpm postgres libs like this:
# yum install --enablerepo=pgdg92-i386 postgresql92-libs.i386
> On a Fedora 19 I simply could install such i686 libs from standard
> fedora repos.
But not with the PGDG repos:
# yum list postgresql\*-libs\*
Complementos cargados:langpacks, presto, refresh-packagekit, security
Paquetes instalados
postgresql-libs.x86_64 9.2.4-1.fc18 @updates
postgresql92-libs.x86_64 9.2.4-3PGDG.f18 @pgdg92
Paquetes disponibles
postgresql-libs.i686 9.2.4-1.fc18 updates
--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Martín Marqués | 2013-06-16 23:11:30 | Re: could not write to hash-join temporary file: No space left on device |
Previous Message | Petko Godev | 2013-06-16 11:27:37 | Re: WIN1251 localization |