Re: Problem with pl/perl in postgresql 8.0rc1

From: David Fetter <david(at)fetter(dot)org>
To: Robert Boone <robert(at)rlb3(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with pl/perl in postgresql 8.0rc1
Date: 2004-12-17 17:56:32
Message-ID: 20041217175632.GA9609@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

On Fri, Dec 17, 2004 at 10:52:07AM -0600, Robert Boone wrote:
> Hello,
>
> I am very new to postgresql and was excited to see that pl/perl was able
> to do more in the newest version. So I created a database to learn some
> of is feature. But when I try to to do:
>
> createlang plperl test
>
> I get:
> createlang: language installation failed: ERROR: could not load
> library "/usr/lib/pgsql/plperl.so": libperl.so: cannot open shared
> object file: No such file or directory
>
>
> I tried installing some of the other languages and they seem to work.
>
> I am using the postgresql8.0rc1 rpms for FC3. I even try the srpm to
> compile it myself but I get the same results.
>
> If anyone could tell me what I'm doing wrong that would be great.

For now, do the following as root:

echo "/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" >>/etc/ld.so.conf.d/perl-i386.conf
ldconfig -v

Then your pl/perl(u) creation should Do The Right Thing.

This will be fixed in the next (S)RPMs :)

Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778

Remember to vote!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-12-17 18:29:32 Re: sorting problem
Previous Message Devrim GUNDUZ 2004-12-17 17:52:19 Re: Problem with pl/perl in postgresql 8.0rc1

Browse pgsql-novice by date

  From Date Subject
Next Message Robert Boone 2004-12-17 18:02:37 Re: Problem with pl/perl in postgresql 8.0rc1
Previous Message Devrim GUNDUZ 2004-12-17 17:52:19 Re: Problem with pl/perl in postgresql 8.0rc1