Thread: install both i386 and x86_64 libs

install both i386 and x86_64 libs

From
Sean Linkous
Date:
Hello,

Forgive me if this has been asked before, I have searched the archives
and google with no luck.

I would like to install both the i386 and x86_64 libs for Postgresql
8.4.3 on an x86_64 CentOS 5.4 machine.  I need there to be a
/usr/lib/libpq.so.5 lib and not just a /usr/lib64/libpq.so.5.

I have installed the pgdg rpm to get the repository for pgdg, but it
will only install x86_64 versions.  I have tried duplicating that repo
and using i38 as the arch, but I can't install
postgresql-libs-8.4.3-1PGDG.el5.i386 because it complains about
postgresql-libs-8.4.3-2PGDG.el5.x86_64 already being installed and newer.

Is there a simple way to get both version of the libraries installed?

Thanks,

Sean


Re: install both i386 and x86_64 libs

From
Tom Lane
Date:
Sean Linkous <spl@arcamax.com> writes:
> I would like to install both the i386 and x86_64 libs for Postgresql
> 8.4.3 on an x86_64 CentOS 5.4 machine.  I need there to be a
> /usr/lib/libpq.so.5 lib and not just a /usr/lib64/libpq.so.5.

Just get the appropriate RPMs (ie, both x86 and x86_64).  It should
be possible to install both in parallel.

            regards, tom lane

Re: install both i386 and x86_64 libs

From
Devrim GÜNDÜZ
Date:
On Fri, 2010-04-23 at 11:05 -0400, Sean Linkous wrote:

> I have installed the pgdg rpm to get the repository for pgdg, but it
> will only install x86_64 versions.  I have tried duplicating that repo
> and using i38 as the arch, but I can't install
> postgresql-libs-8.4.3-1PGDG.el5.i386 because it complains about
> postgresql-libs-8.4.3-2PGDG.el5.x86_64 already being installed and
> newer.

HEre lies the problem. You should e-mail maintainers of the repo. It
should have the same release number. (1 versus 2)


--
Devrim GÜNDÜZ <devrim@gunduz.org>