Pivotal Knowledge Base

Follow

Cannot install plperl in HDB 2.0

Environment

Product Version
Pivotal HDB 2.0
OS Centos/RHEL 6.x

Symptom

When attempting to add the plperl language to HDB 2.0 it fails to load the libperl.so library

Error Message:

template1=# create language plperl;
ERROR:  could not load library "/usr/local/hawq-2.0.0.0/lib/postgresql/plperl.so": libperl.so: cannot open shared object file: No such file or directory

Alternate Error Message:

template1=# create language plperl;
ERROR:  could not load library "/usr/local/hawq-2.0.0.0/lib/postgresql/plperl.so": /usr/local/hawq-2.0.0.0/lib/postgresql/plperl.so: undefined symbol: Perl_Top_ptr

Cause

The included plperl.so library was linked against Centos/RHEL 5.x libraries, and is incompatible with Centos/RHEL 6.x.

Resolution

All future versions will include the correct version of plperl.so. If you require plperl in HDB 2.0 please contact support for a library that is compatible with Centos/RHEL 6.x.  

Internal Comments

Please contact engineering for access to the correct library version.

 

Comments

Powered by Zendesk