PostgresSql's client libs uses linux-vdso32.so.1 ?

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 Postgres 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.

Well, the problem seems to be complicated.

Apparently while linking libpq, there are some dependencies that rely on linux-vdso32.so.1, as shown here:

ldd 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)
ldd /lib/power6x/libpthread.so.0
        linux-vdso32.so.1 =>  (0x00100000)
        libc.so.6 => /lib/power6x/libc.so.6 (0x07e8c000)
        /lib/ld.so.1 (0xf7fe1000)
ldd /lib/power6x/libc.so.6
        /lib/ld.so.1 (0xf7fe1000)
        linux-vdso32.so.1 =>  (0x00100000)
linux-uftu:/home.old/postgres-64/postgresql-9.1.5/src/interfaces/libpq # ldd /lib/ld.so.1
        statically linked

Does anyone know how can I force linking against 64bit libraries?.

> in a OpenSuse 10.1 PowerPC machine

i can’t answer your question, but i can inform you that openSUSE 10.1
sailed past its end of life on 31 May 2008 (over FOUR years ago) [cite:
http://en.opensuse.org/Lifetime]…

so it is highly unlikely you will find anyone here who could either try
to duplicate your situation of competently guide you to a solution.

hmmm…i probably have a 10.1 disk here but . . . i’d say that system is
quite full of known security vulnerabilities which have arisen since
security patches stopped flowing to it (in 2008): therefore i’d
recommend you update to current software…

i don’t think there is a current openSUSE for PPC, but i think there is
a SUSE Linux Enterprise 11 for it, maybe! have a look at www.suse.com
and/or ask in their forum: http://forums.suse.com/


dd

Thanks, I’ll ask there.

Please, continue here:

https://forums.suse.com/showthread.php?1848-PostgresSql-s-client-libs-uses-linux-vdso32-so-1&p=9206#post9206

> http://tinyurl.com/9arcv84

ah, and there i see


cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (ppc)

so, a monitor could close this thread…


dd

Closed. The OP did aperently find out by himself what was the correct place to ask.