Postgres 32 bit development libraries on x86_64 bit platform

Hi
I have two question regarding the postgres application on openSUSE 11.1.

  1. Why their is no 32 bit developement libraries of postgresql present in x86_64 directory .
    postgresql-libs-32bit-devel-8.3.5-1.10.x86_64.rpm

  2. What is the difference between 32bit rpm file present in x86_64 directory and i586 directory ?

Thanks
Madhu

bs madhu wrote:

> I have two question regarding the postgres application on openSUSE
> 11.1.
>
> 1. Why their is no 32 bit developement libraries of postgresql present
> in x86_64 directory .
> postgresql-libs-32bit-devel-8.3.5-1.10.x86_64.rpm

I think this package provides 32 bits library compatibility for 64 bits
libraries. This is only needed on 64 bits systems.

> 2. What is the difference between 32bit rpm file present in x86_64
> directory and i586 directory ?

On i586 directory there are only “postgresql-libs-8.3.5-1.10.i586.rpm”
and “postgresql-devel-8.3.5-1.10.i586.rpm” packages.

On 32 bits systems there is no need for “32 bits library-devel
compatibility” as they are “natively” incorporated :slight_smile:

Greetings,


Camaleón

Hi
Thanks for the replay.
We are trying to compile our software in 64 bit environment targeting both 32 bit and 64 bit machines.
To compile we need 32 bit and 64 bit developement libraries of postgres. One thing we observed is openSUSE distro does not have 32bit development libraries in x86_64 folder.

What is the recomended approch to complie on 64 bit system targetting both 32 and 64 bit platforms.

Thanks
Madhu

Hi,

I am trying to compile the snappy (snappy - A fast compressor/decompressor - Google Project Hosting) 64bit and 32bit on x86_64 SUSE platform.
I have the spec file for the same, once the code is compiled we have four rpms.
snappy-devel-1.0.5-1.x86_64.rpm ===> 64bit
snappy-devel-1.0.5-1.i386.rpm ====> 32bit
snappy-1.0.5-1.x86_64.rpm===> 64bit
snappy-1.0.5-1.i386.rpm====> 32bit

when we upload the rpms to repository, zypper results only 64bit rpm’s. I am not able to see the 32bit rpms.
refered multiple forums, but no clue as of now.
http://forums.opensuse.org/english/other-forums/development/programming-scripting/420116-creating-32bit-devel-packages-x86_64-a.html

It seems, we have to have the snappy-32bit-1.0.5-1.x86_64.rpm for 32 bit. The question is how to generate the 32bit rpm which has the 32bit in the name of the rpm’s as mentioned.
Appreciate, if any body please let me know the steps how to generate bi-arch rpm’s on the x86_64 platform.

Regards
Ashish Singh

On 2012-05-01 19:46, ashishsinghmtech wrote:
> Appreciate, if any body please let me know the steps how to generate
> bi-arch rpm’s on the x86_64 platform.

You should post new posts with appropriate tittles to attract relevant
people, and in the appropriate place. Reusing an old thread is not very
useful here.

There is a programming forum here where they might know what you are
talking about.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)