Re: PL/Ruby

From: Anton Nikiforov <Anton(dot)Nikiforov(at)loteco(dot)ru>
To: David Garamond <lists(at)zara(dot)6(dot)isreserved(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/Ruby
Date: 2004-02-07 16:13:03
Message-ID: 40250E8F.5090107@loteco.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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=#

In response to

  • Re: PL/Ruby at 2004-02-06 19:19:23 from David Garamond

Responses

  • Re: PL/Ruby at 2004-02-07 18:48:47 from David Garamond

Browse pgsql-general by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2004-02-07 17:27:41 Re: Aggregation question
Previous Message Christopher Browne 2004-02-07 14:40:56 Re: retrieving parts of a resultset