Re: BUG #6729: Install of postgresql-devel for x86_84 and i686 fails - Mailing list pgsql-bugs

From Yogesh_Sharma@Cymer.com
Subject Re: BUG #6729: Install of postgresql-devel for x86_84 and i686 fails
Date
Msg-id OFB2D1E5F2.6F7DB60C-ON88257A39.0071FEB7-88257A39.007251C6@cymer.com
Whole thread Raw
In response to Re: BUG #6729: Install of postgresql-devel for x86_84 and i686 fails  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List pgsql-bugs
What about following:

%ifarch x86_64
%define PGLIBDIR lib64
%else
%define PGLIBDIR lib
%endif

In %install  use /usr/pgsql-9.1/%{LIBDIR}/
same in %files

pg_config impacted ?


Thanks,
Yogesh Sharma

Devrim G=DCND=DCZ <devrim@gunduz.org> wrote on 07/12/2012 01:42:56 PM:

>=20
> Hi,
>=20
> On Thu, 2012-07-12 at 16:36 -0400, Tom Lane wrote:
> > Devrim =3D?ISO-8859-1?Q?G=3DDCND=3DDCZ?=3D <devrim@gunduz.org> writes:
> > > It is not a bug, but it might be a missing feature (and I'm not sure
> > how
> > > to fix it :-) )
> >=20
> > It's fairly common for -devel packages of different architectures to
> > conflict.  If you were to try to fix it, you'd likely need the 64-bit
> > versions to install their stuff into .../lib64/ not .../lib/.
>=20
> Well, there lies the problem. My packages push everything
> under /usr/pgsql-9.1 , and libs go to /usr/pgsql-9.1/lib. A
>=20
> > Not sure how practical such a change is at this late date.
>=20
> What if I build *9.2* with --libdir=3D/usr/pgsql-9.1/lib64 for x86_64, and
> then push 32-bit packages to /usr/pgsql-9.1/lib ?
>=20=

pgsql-bugs by date:

Previous
From: Yogesh_Sharma@Cymer.com
Date:
Subject: Re: BUG #6729: Install of postgresql-devel for x86_84 and i686 fails
Next
From: Craig Ringer
Date:
Subject: Re: BUG #6697: postgres.exe crashed