Re: Problem with pl/perl in postgresql 8.0rc1

Поиск
Список
Период
Сортировка
От Devrim GUNDUZ
Тема Re: Problem with pl/perl in postgresql 8.0rc1
Дата
Msg-id Pine.LNX.4.61.0412171944460.13282@emo.org.tr
обсуждение исходный текст
Ответ на Problem with pl/perl in postgresql 8.0rc1  (Robert Boone <robert@rlb3.com>)
Список 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-----

В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with pl/perl in postgresql 8.0rc1
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: how to echo SQL commands in the output of a script