Linux PowerPC 64bits issue

From: Leonardo M(dot) Ramé <l(dot)rame(at)griensu(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Linux PowerPC 64bits issue
Date: 2012-09-26 23:46:00
Message-ID: 20120926234600.GC10998@leonardo-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2012-09-27 00:04:08 Re: [GENERAL] Inaccurate Explain Cost
Previous Message Tom Lane 2012-09-26 23:29:14 Re: [PERFORM] Inaccurate Explain Cost