| From: | Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: compiling plpython compilation error (solved) |
| Date: | 2008-03-04 16:16:16 |
| Message-ID: | 47CD75D0.6070008@fmed.uba.ar |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Tom Lane wrote:
>Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Shahaf Abileah | 2008-03-04 20:02:27 | Documenting a DB schema |
| Previous Message | Leif B. Kristensen | 2008-03-04 10:32:42 | Re: php to pgsql question |