Re: compiling plpython compilation error (solved)

Поиск
Список
Период
Сортировка
От Gerardo Herzig
Тема Re: compiling plpython compilation error (solved)
Дата
Msg-id 47CD75D0.6070008@fmed.uba.ar
обсуждение исходный текст
Ответ на Re: compiling plpython compilation error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Tom Lane wrote:

>Gerardo Herzig <gherzig@fmed.uba.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


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

Предыдущее
От: "Leif B. Kristensen"
Дата:
Сообщение: Re: php to pgsql question
Следующее
От: "Shahaf Abileah"
Дата:
Сообщение: Documenting a DB schema