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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python
Дата
Msg-id 20070215144951.GG4682@alvh.no-ip.org
обсуждение исходный текст
Ответ на gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python  (Nico Grubert <nicogrubert@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Option to undo last update on table.
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: User privilege information.