Re: BUG #8343: plperl/plperlu Install Fails - Mailing list pgsql-bugs

From Patrick Lademan
Subject Re: BUG #8343: plperl/plperlu Install Fails
Date
Msg-id CADMm_6D=yQb-W28QPp4w7PNZ+Xs-akdyVBR5vNpqm=ngJRBpOw@mail.gmail.com
Whole thread Raw
In response to BUG #8343: plperl/plperlu Install Fails  (cesheri@swbell.net)
List pgsql-bugs
> 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

pgsql-bugs by date:

Previous
From: Frank van Vugt
Date:
Subject: Re: array_agg() on a set larger than some arbitrary(?) limit causes runaway memory usage and eventually memory exhaustion
Next
From: g.vanluffelen@qipc.com
Date:
Subject: BUG #8573: int4range memory consumption