Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-novice by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group