Re: BUG #8343: plperl/plperlu Install Fails

From: Patrick Lademan <mjfrog14(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8343: plperl/plperlu Install Fails
Date: 2013-11-01 15:00:13
Message-ID: CADMm_6D=yQb-W28QPp4w7PNZ+Xs-akdyVBR5vNpqm=ngJRBpOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-11-01 18:12:58 Re: BUG #8572: Combination of SET TIME ZONEs and CAST gives wrong results
Previous Message Frank van Vugt 2013-11-01 12:06:20 Re: array_agg() on a set larger than some arbitrary(?) limit causes runaway memory usage and eventually memory exhaustion