| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar> |
| Cc: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>, Python Mailing List <python-list(at)python(dot)org> |
| Subject: | Re: compiling plpython compilation error |
| Date: | 2008-03-03 16:12:28 |
| Message-ID: | 24554.1204560748@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bryce Nesbitt | 2008-03-03 19:30:07 | Re: psql word wrapping to terminal width - testers? |
| Previous Message | Gerardo Herzig | 2008-03-03 13:15:48 | compiling plpython compilation error |