From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gerardo Herzig <gherzig@fmed.uba.ar>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Cc: Python Mailing List <python-list@python.org>
Subject: Re: compiling plpython compilation error
Date: Mon, 03 Mar 2008 11:12:28 -0500
Message-ID: <24554.1204560748@sss.pgh.pa.us> (raw)
In-Reply-To: <47CBFA04.30300@fmed.uba.ar>
References: <47CBFA04.30300@fmed.uba.ar>
Gerardo Herzig <gherzig@fmed.uba.ar> writes:
> Hi all. Im having a hard time trying to compile the plpython package.
> This is the error make gives me:
> /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
Well, I'd try following the error message's advice: use -fPIC not
-fpic. Note that it's not real clear whether this needs to be done
for plpython, or libpython, or perhaps both; so you might well be
in for making a custom libpython installation.
regards, tom lane
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: tgl@sss.pgh.pa.us, gherzig@fmed.uba.ar, python-list@python.org
Subject: Re: compiling plpython compilation error
In-Reply-To: <24554.1204560748@sss.pgh.pa.us>
* 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