Re: PL/Ruby - Mailing list pgsql-general

From Anton Nikiforov
Subject Re: PL/Ruby
Date
Msg-id 40250E8F.5090107@loteco.ru
Whole thread Raw
In response to Re: PL/Ruby  (David Garamond <lists@zara.6.isreserved.com>)
Responses Re: PL/Ruby  (David Garamond <lists@zara.6.isreserved.com>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Extract transaction logging
Next
From: Bruno Wolff III
Date:
Subject: Re: [HACKERS] Aggregation question