Linux PowerPC 64bits issue - Mailing list pgsql-general

From Leonardo M. Ramé
Subject Linux PowerPC 64bits issue
Date
Msg-id 20120926234600.GC10998@leonardo-laptop
Whole thread Raw
Responses Re: Linux PowerPC 64bits issue  ("ac@hsk.hk" <ac@hsk.hk>)
List pgsql-general
Hi, I compiled PostgreSql 9.1 from sources in a OpenSuse 10.1 PowerPC
machine. While trying to test one application, I've got errors just
before connecting to the database, and found my app is loading
linux-vdso64.so.1 while libpq.so uses linux-vdso32.so.1

This means the PostgreSql libraries where compiled in 32 bits?. This is
what ldd gives:

ldd /usr/local/pgsql/lib/libpq.so
linux-vdso32.so.1 => (0x00100000)
libpthread.so.0 => /lib/power6x/libpthread.so.0 (0x6ff85000)
libc.so.6 => /lib/power6x/libc.so.6 (0x6fe11000)
/lib/ld.so.1 (0x08000000)

How can I force PostgreSql to compile in 64 bits?.

Regards,
--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 351 6629292



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PERFORM] Inaccurate Explain Cost
Next
From: Jeff Janes
Date:
Subject: Re: [PERFORM] Inaccurate Explain Cost