Re: gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python
Date
Msg-id 20070215144951.GG4682@alvh.no-ip.org
Whole thread Raw
In response to gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python  (Nico Grubert <nicogrubert@gmail.com>)
List pgsql-general
Nico Grubert escribió:
> 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).

> /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

Did you compile Python manually?  This error looks similar to problems
I've gotten when I've messed up trying to link 32bit libs with 64 bit
objects.

I'd suggest installing the Python libs that come with SLES.  Does it not
ship 2.4.4?


--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Option to undo last update on table.
Next
From: Michael Fuhr
Date:
Subject: Re: User privilege information.