Re: Problem with pl/perl in postgresql 8.0rc1

From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
To: Robert Boone <robert(at)rlb3(dot)com>
Cc: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Problem with pl/perl in postgresql 8.0rc1
Date: 2004-12-17 17:52:19
Message-ID: Pine.LNX.4.61.0412171944460.13282@emo.org.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Fri, 17 Dec 2004, Robert Boone wrote:

> 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.

This is known issue on FC3, and we fixed the RPMset for that. Until we
release RC2 RPMs, could you please run the following commands :

export PERLVER=`perl -e 'printf "%vd\n", $^V'`
echo "/usr/lib/perl5/$PERLVER/i386-linux-thread-multi/CORE" > /etc/ld.so.conf.d/perl.conf
ldconfig

Then

createlang plperl test

will work.

- -HTH

Regards,
- --
Devrim GUNDUZ
devrim~gunduz.org devrim.gunduz~linux.org.tr
http://www.tdmsoft.com
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBwxzVtl86P3SPfQ4RAoO4AKC4UpnTXEKrXuRKlovj2LTS7rYlagCdGzDC
tVt/5jzH7ZjqUwatH+HC4Tc=
=vMcg
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2004-12-17 17:56:32 Re: Problem with pl/perl in postgresql 8.0rc1
Previous Message Chuck Bernardes 2004-12-17 17:45:53 unsubscribe pgsql-general

Browse pgsql-novice by date

  From Date Subject
Next Message David Fetter 2004-12-17 17:56:32 Re: Problem with pl/perl in postgresql 8.0rc1
Previous Message Tom Lane 2004-12-17 17:22:52 Re: Problem with pl/perl in postgresql 8.0rc1