Re: BUG #8343: plperl/plperlu Install Fails

Started by Patrick Lademanover 12 years ago1 messagesbugs
Jump to latest
#1Patrick Lademan
mjfrog14@gmail.com

This is fixed in the latest version PostgreSQL 9.3 beta2.

I have upgraded to PostgreSQL 9.3.1 on x86_64-apple-darwin, compiled by
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.9.00), 64-bit

My laptop is the following:
Model Identifier: MacBookPro10,1 Processor Name: Intel Core i7
System Version: OS X 10.9 (13A603)
Kernel Version: Darwin 13.0.0

When I execute either SQL statement:
create language plperlu;
create extension plperlu;

It returned an error that it could not load the library.

I then loaded PERL 5.16 but it still generates the following error messages:

ERROR: could not load library
"/Library/PostgreSQL/9.3/lib/postgresql/plperl.so":
dlopen(/Library/PostgreSQL/9.3/lib/postgresql/plperl.so, 10): Library not
loaded: /usr/local/ActivePerl-5.14/lib/CORE/libperl.dylib
Referenced from: /Library/PostgreSQL/9.3/lib/postgresql/plperl.so
Reason: no suitable image found. Did find:
/usr/local/lib/libperl.dylib: stat() failed with errno=13

********** Error **********

ERROR: could not load library
"/Library/PostgreSQL/9.3/lib/postgresql/plperl.so":
dlopen(/Library/PostgreSQL/9.3/lib/postgresql/plperl.so, 10): Library not
loaded: /usr/local/ActivePerl-5.14/lib/CORE/libperl.dylib
Referenced from: /Library/PostgreSQL/9.3/lib/postgresql/plperl.so
Reason: no suitable image found. Did find:
/usr/local/lib/libperl.dylib: stat() failed with errno=13
SQL state: 58P01

The library is in the directory:

/Library/PostgreSQL/9.3/lib/postgresql $ ls plperl* plperl.so

What am I missing?

Thank you,

Pat