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

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



В списке pgsql-general по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Stored Procedure examples
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Option to undo last update on table.