Hi, I moved this question from opensuse's forum, hopefully I'll find some help here.
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 Postgres libraries where compiled in 32 bits?. This is what ldd gives:
How can I force PostgreSql to compile in 64 bits?.
linux-vdso32.so.1 => (0x00100000)
libpthread.so.0 => /lib/power6x/libpthread.so.0 (0x6ff85000)
libc.so.6 => /lib/power6x/libc.so.6 (0x6fe11000)
BTW: here's more info about my environment:
SUSE Linux Enterprise Server 10 (ppc)
VERSION = 10
PATCHLEVEL = 2
Linux linux-uftu 188.8.131.52-0.21-ppc64 #1 SMP Tue May 6 12:41:02 UTC 2008 ppc64 ppc64 ppc64 GNU/Linux