Re: PL/Ruby

Поиск
Список
Период
Сортировка
От Anton Nikiforov
Тема Re: PL/Ruby
Дата
Msg-id 40250E8F.5090107@loteco.ru
обсуждение исходный текст
Ответ на Re: PL/Ruby  (David Garamond <lists@zara.6.isreserved.com>)
Ответы Re: PL/Ruby  (David Garamond <lists@zara.6.isreserved.com>)
Список pgsql-general
> Anton Nikiforov wrote:
>
>> Dear sirs,
>> Does someone made PL/Ruby working on 4.7.1?
...skipped....
David Garamond wrote:
>
>
> I just experienced the same today. Apparently extconf.rb can't detect
> 7.4 correctly (at least on my Redhat 7.3) so it assumes your PG is 7.3
> (and thus fails to build). Try using:
>
>  $ ruby extconf.rb --with-pgsql-include=... --with-pgsql-version=74
>
> That did it for me.
>
Thanks, David, but i did try this way already and in the case i build
plruby like this i have the following in the psql:
template1=# create function plruby_call_handler () returns opaque as
'/usr/local/lib/ruby/1.6/i386-freebsd5/plruby.so' language 'C';
ERROR:  could not load library
"/usr/local/lib/ruby/1.6/i386-freebsd5/plruby.so": dlopen
'/usr/local/lib/ruby/1.6/i386-freebsd5/plruby.so' failed.
(/usr/local/lib/ruby/1.6/i386-freebsd5/plruby.so: Undefined symbol
"rb_hash_delete")
template1=#

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Extract transaction logging
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: [HACKERS] Aggregation question