Re: could not load library plperl.so

From: CSN <cool_screen_name90001(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: could not load library plperl.so
Date: 2005-05-02 02:08:39
Message-ID: 20050502020839.72596.qmail@web52907.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> CSN <cool_screen_name90001(at)yahoo(dot)com> writes:
> > createlang: language installation failed: ERROR:
> > could not load library
> > "/usr/lib/postgresql/plperl.so": libperl.so:
> cannot
> > open shared object file: No such file or directory
>
> Notice it's complaining about libperl.so, not
> plperl.so.
>
> This is probably because libperl.so isn't in your
> ldconfig search path.
> Before PG 8.0 it's necessary to add the directory
> where Perl keeps that
> file to your ldconfig configuration.
>
> If you *are* using 8.0, then please explain exactly
> what platform
> you're on and what your Perl installation is.
>
> regards, tom lane

Yeah, I did 'ln
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
/usr/lib/libperl.so' and 'createlang plperl dbname'
worked without complaining (I should probably use
ldconfig instead). I'm using 7.4.7 (will probably
upgrade to 8.x pretty soon).

CSN

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Browse pgsql-general by date

  From Date Subject
Next Message Vlad 2005-05-02 02:36:39 Re: [Dbdpg-general] 'prepare' is not quite schema-safe
Previous Message Dana Hudes 2005-05-02 01:55:58 Re: [Dbdpg-general] 'prepare' is not quite schema-safe