Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Yogesh_Sharma
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ÜNDÜZ wrote on 07/12/2012 01:42:56 PM: > > Hi, > > On Thu, 2012-07-12 at 16:36 -0400,

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Yogesh_Sharma
Hi Devrim, How things are going, long time since we exchanged any email. May be different lib folders can be used: /usr/pgsql-9.1/lib/libecpg.a /usr/pgsql-9.1/lib64/libecpg.a glibc-devel.i686 and glibc-devel.x86_64 does similar thing. rpm -ql glibc-devel.i686 |grep .a$ /usr/lib/libbsd-compat.a

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Devrim GÜNDÜZ
Hi, On Thu, 2012-07-12 at 16:36 -0400, Tom Lane wrote: > Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= writes: > > It is not a bug, but it might be a missing feature (and I'm not sure > how > > to fix it :-) ) > > It's fairly common for -devel packages of different architectures to > conflict. If you wer

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= writes: > It is not a bug, but it might be a missing feature (and I'm not sure how > to fix it :-) ) 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 th

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Devrim GÜNDÜZ
Hi, It is not a bug, but it might be a missing feature (and I'm not sure how to fix it :-) ) Regards, On Wed, 2012-07-11 at 23:16 +, ysha...@cymer.com wrote: > The following bug has been logged on the website: > > Bug reference: 6729 > Logged by: Yogesh Sharma > Email address

[BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread ysharma
The following bug has been logged on the website: Bug reference: 6729 Logged by: Yogesh Sharma Email address: ysha...@cymer.com PostgreSQL version: 9.1.4 Operating system: CentOS 6.3 Description: For compilation of 64bit as well 32bit program I am trying to install bo