pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: compiling plpython compilation error (solved)
Date: Tue, 04 Mar 2008 13:16:16 -0300
Message-ID: <47CD75D0.6070008@fmed.uba.ar> (raw)
In-Reply-To: <24554.1204560748@sss.pgh.pa.us>
References: <47CBFA04.30300@fmed.uba.ar>
	<24554.1204560748@sss.pgh.pa.us>

Tom Lane wrote:

>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
>
>
>  
>
Yes, i was trying to recompile plpy with -fPIC with no success, 
recompiling *python* with -fPIC did work.

Thanks!!
Gerardo



Message-ID: <47CD75D0.6070008@fmed.uba.ar>
Permalink:  ../47CD75D0.6070008@fmed.uba.ar/
Also on:    postgresql.org/message-id/47CD75D0.6070008@fmed.uba.ar

 · 

reply

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, tgl@sss.pgh.pa.us
  Subject: Re: compiling plpython compilation error (solved)
  In-Reply-To: <47CD75D0.6070008@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