On Fri, Jan 12, 2007 at 11:50:19AM +0100, Albe Laurenz wrote: > > gmake[3]: Entering directory > `/home/km/postgresql8.2.1/postgresql-8.2.1/src/pl/plpython' > > gcc -fPIC -Wall -Wmissing-prototypes -Wpointer-arith -Winline > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g > -fpic -shared -Wl,-soname,libplpython.so.0 plpython.o > -L/usr/local/lib/python2.5/config -L../../../src/port -lpython2.5 > -lpthread -ldl -lutil -lm -Wl,-rpath,'/usr/local/lib/python2.5/config' > -o libplpython.so.0.0 > > /usr/bin/ld: > /usr/local/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/local/lib/python2.5/config/libpython2.5.a: could not read > symbols: Bad value > > collect2: ld returned 1 exit status > > gmake[3]: *** [libplpython.so.0.0] Error 1 > > gmake[3]: Leaving directory > `/home/km/postgresql8.2.1/postgresql-8.2.1/src/pl/plpython' > > > > I am on a x86_64 platform. > > any ideas whats going on here ? > > Not really. You should CC the list, because somebody there may know. > > You can try the following: > ar -t /usr/local/lib/python2.5/config/libpython2.5.a abstract.o > file abstract.o ya extracted the object file. > What does the file command tell you? ya it says : abstract.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped > Did you build Python yourself or did you install a package? I had installed python2.5 myself from source package. regards, KM