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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Nico Grubert <nicogrubert(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python
Date: 2007-02-15 14:49:51
Message-ID: 20070215144951.GG4682@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2007-02-15 15:11:38 Re: User privilege information.
Previous Message Ron Johnson 2007-02-15 14:35:43 Re: Option to undo last update on table.