Re: PostgreSQL 9.5 and PL/Ruby install problem(Centos 6 64 bit) - Mailing list pgsql-general

From Tom Lane
Subject Re: PostgreSQL 9.5 and PL/Ruby install problem(Centos 6 64 bit)
Date
Msg-id 8450.1467305150@sss.pgh.pa.us
Whole thread Raw
In response to PostgreSQL 9.5 and PL/Ruby install problem(Centos 6 64 bit)  (Hanan Brener <hbrener@allot.com>)
List pgsql-general
Hanan Brener <hbrener@allot.com> writes:
> Installing on Centos 6 PostgreSQL 9.5 (64 bit) ; ruby 1.8
> and get from https://pkgs.org/centos-6/epel-x86_64/postgresql-plruby-0.5.3-4.el6.x86_64.rpm.html - plruby
libraries(postgresql-plruby-0.5.3-4.el6.x86_64).
> Additional installed postgresql95-libs (postgresql95-libs-9.5.2-1PGDG.rhel6.x86_64)
> Trying add plruby to PostgreSQL -
> create function plruby_call_handler() returns language_handler
> as '/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/plruby.so'
> language 'c';
> The follows error appears - could not load library "/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/plruby.so":
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/plruby.so:undefined symbol: FunctionCall3 

Seems like you've got a broken build of plruby there.  FunctionCall3 has
been a macro, not a real function, for quite a long time.  AFAICS this
error would only be possible if plruby had been compiled against postgres
header files from 9.0 or before, which would be a packaging mistake.
Suggest complaining to whoever the package builder is.

            regards, tom lane


pgsql-general by date:

Previous
From: Hanan Brener
Date:
Subject: PostgreSQL 9.5 and PL/Ruby install problem(Centos 6 64 bit)
Next
From: Adrian Klaver
Date:
Subject: Re: PostgreSQL 9.5 and PL/Ruby install problem(Centos 6 64 bit)