From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
To: Python Mailing List <python-list@python.org>
Subject: compiling plpython compilation error
Date: Mon, 03 Mar 2008 10:15:48 -0300
Message-ID: <47CBFA04.30300@fmed.uba.ar> (raw)
Hi all. Im having a hard time trying to compile the plpython package.
This is the error make gives me:
gherzig@vdb:/usr/local/src/postgresql-8.2.5/src/pl/plpython> make
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/lib/python2.5/config -L../../../src/port -lpython2.5 -lpthread
-ldl -lutil -lm -Wl,-rpath,'/usr/lib/python2.5/config' -o libplpython.so.0.0
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld:
/usr/lib/python2.5/config/libpython2.5.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/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libplpython.so.0.0] Error 1
This runs on OpenSuse 10.3.
python 2.5
postgres 8.2.5 ( and 8.3.0)
Any clues?
Thanks!
Gerardo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: gherzig@fmed.uba.ar, python-list@python.org
Subject: Re: compiling plpython compilation error
In-Reply-To: <47CBFA04.30300@fmed.uba.ar>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox