pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ron@rajyaseva.in
To: pgsql-bugs@postgresql.org
Subject: BUG #10622: PLPerl extenstion install failure - why is it asking ActivePerl?
Date: Wed, 11 Jun 2014 18:32:51 +0000
Message-ID: <20140611183251.2585.98460@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      10622
Logged by:          Ron
Email address:      ron@rajyaseva.in
PostgreSQL version: 9.2.3
Operating system:   Mac OS X 10.9.2
Description:        

Hi 
Im facing an issue in installing plperl , identical to what was reported in
Bug 8343 earlier.
http://www.postgresql.org/message-id/CANFyU96u8=YE4TSD5YqR8F_SHPi7Zqh+X5emuPM9uTQZEuc3xQ@mail.gmail....

As postgres user i tried to install plperl via $createlang plperl <dbname>
but it throws the following error

createlang: language installation failed: ERROR:  could not load library
"/Library/PostgreSQL/9.2/lib/postgresql/plperl.so":
dlopen(/Library/PostgreSQL/9.2/lib/postgresql/plperl.so, 10): Library not
loaded: /usr/local/ActivePerl-5.14/lib/CORE/libperl.dylib
  Referenced from: /Library/PostgreSQL/9.2/lib/postgresql/plperl.so
  Reason: image not found

Question -> I am not able to understand why the configuration is looking at
/usr/local/ActivePerl..as there is no such path in my system where perl is
installed. I have installed perl from source. 

Also libperl.so is present in
/Library/PostgreSQL/9.2/lib/postgresql/plperl.so.

Is the only solution to download the latest version of PostgresQL ? I have
another deployment of Postgres (9.2.8) on a hoste environment and i am able
to install plperl on the machine.

so please give me some idea why i am facing this issue and how to resolve it
without a fresh install.

thank you.

Regards
Ron.
 


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



Message-ID: <20140611183251.2585.98460@wrigleys.postgresql.org>
Permalink:  ../20140611183251.2585.98460@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20140611183251.2585.98460@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ron@rajyaseva.in
  Subject: Re: BUG #10622: PLPerl extenstion install failure - why is it asking ActivePerl?
  In-Reply-To: <20140611183251.2585.98460@wrigleys.postgresql.org>
  References: <20140611183251.2585.98460@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox