Re: PG compilation

Поиск
Список
Период
Сортировка
От km
Тема Re: PG compilation
Дата
Msg-id 20070112114036.GA32682@mrna.tn.nic.in
обсуждение исходный текст
Ответ на PG compilation  (km <km@mrna.tn.nic.in>)
Список pgsql-general
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



В списке pgsql-general по дате отправления:

Предыдущее
От: han.holl@informationslogik.nl
Дата:
Сообщение: Re: Optimize expresiions.
Следующее
От: Artis Caune
Дата:
Сообщение: Re: plpgsql and arrays