gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python

From: Nico Grubert <nicogrubert(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python
Date: 2007-02-15 12:58:22
Message-ID: 45D458EE.7060400@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear list members,

I am trying to install Postgresql-8.2.3 on a Suse Linux Enterprise
Server 10.1 64-Bit with Python 2.4.4. At the "gmake" command I get 2
errors (see below).

I ran:
./configure --with-python --with-openssl
gmake

Here are the last lines of the gmake process:
-------------------------------------------------------------------------------
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic
-shared -Wl,-soname,libplpython.so.0 plpython.o
-L/usr/local/lib/python2.4/config -L../../../src/port -lpython2.4
-lpthread -ldl -lutil -lm -Wl,-rpath,'/usr/local/lib/python2.4/config'
-o libplpython.so.0.0
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
/usr/local/lib/python2.4/config/libpython2.4.a(abstract.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/local/lib/python2.4/config/libpython2.4.a: could not read symbols:
Bad value
collect2: ld returned 1 exit status
gmake[3]: *** [libplpython.so.0.0] Error 1
gmake[3]: Leaving directory
`/usr/local/src/postgresql-8.2.0/src/pl/plpython'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/local/src/postgresql-8.2.0/src/pl'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-8.2.0/src'
gmake: *** [all] Error 2
-------------------------------------------------------------------------------

My system:
+ Suse Linux Enterprise Server 10.1 64-Bit
+ Postgresql-8.2.3
+ Python 2.4.4

Any idea, what's going wrong here?

Thanks in advance,
Nico

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2007-02-15 14:00:53 Re: Option to undo last update on table.
Previous Message Dave Page 2007-02-15 12:51:33 Re: Stored Procedure examples