From: | Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar> |
---|---|
To: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>, Python Mailing List <python-list(at)python(dot)org> |
Subject: | compiling plpython compilation error |
Date: | 2008-03-03 13:15:48 |
Message-ID: | 47CBFA04.30300@fmed.uba.ar |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi all. Im having a hard time trying to compile the plpython package.
This is the error make gives me:
gherzig(at)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-03-03 16:12:28 | Re: compiling plpython compilation error |
Previous Message | Bryce Nesbitt | 2008-03-03 06:20:27 | psql word wrapping to terminal width - testers? |