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-08 15:03:56
Message-ID: 40264FDC.4040408@loteco.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello David, thanks, changing to Ruby18 solved my problem after some
manual passages with woodoo around the computer :)

Best regards,
Anton Nikiforov

David Garamond wrote:
> Anton Nikiforov wrote:
>
>> 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=#
>
>
> Hm, I'm pretty clueless myself about the above, but a couple of
> observation:
>
> 1) the path seems strange, why does it install to
> /usr/local/lib/ruby/1.6/ instead of the more usual
> /usr/local/lib/ruby/site_ruby/1.6/ ...
>
> 2) what does 'ldd /usr/local/lib/ruby/1.6/i386-freebsd5/plruby.so' say?
> Does it include the line similar to:
>
> libruby.so.1.8 => /usr/lib/libruby.so.1.8 (0x40037000)
>
> (*.so.1.6 in your case).
>
> 3) have you tried upgrading your Ruby installation to 1.8?
>

In response to

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

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2004-02-08 15:53:14 Re: connectby for BYTEA keys
Previous Message Lincoln Yeoh 2004-02-08 14:02:01 Repost: postmaster growing to consume all memory