Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux