| От | Tom Lane |
|---|---|
| Тема | Re: compiling plpython compilation error |
| Дата | |
| Msg-id | 24554.1204560748@sss.pgh.pa.us обсуждение |
| Ответ на | compiling plpython compilation error (Gerardo Herzig <gherzig@fmed.uba.ar>) |
| Ответы |
Re: compiling plpython compilation error (solved)
|
| Список | pgsql-sql |
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
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера