Обсуждение: Create Perl Support

Поиск
Список
Период
Сортировка

Create Perl Support

От
Sebastian Muench
Дата:
Hi all,

we builded a pqsql 7.3.2 (with perl support) at our redhat 8.0.
We builded libperl.so. Now we are trying to execute

    createlang plperl "ourdatabase".

We are getting the message:

    ERROR: stat failed on file '$libdir/plperl': No such file or directory.

Can anyone of you explain us, what the problem is, and may be, how to
fix it?

That would be nice, thanks alot,
Sebastian


Re: Create Perl Support

От
Oliver Elphick
Дата:
On Wed, 2003-02-12 at 00:09, Sebastian Muench wrote:
> Hi all,
>
> we builded a pqsql 7.3.2 (with perl support) at our redhat 8.0.
> We builded libperl.so. Now we are trying to execute
>
>     createlang plperl "ourdatabase".
>
> We are getting the message:
>
>     ERROR: stat failed on file '$libdir/plperl': No such file or directory.
>
> Can anyone of you explain us, what the problem is, and may be, how to
> fix it?

$libdir should be replaced by the $PGLIB directory; if that is
undefined, there is a hardcoded substitution in the createlang script.
Move plperl.so to that directory, or make a symbolic link there.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "When I consider thy heavens, the work of thy fingers,
      the moon and the stars, which thou hast ordained; What
      is man, that thou art mindful of him? and the son of
      man, that thou visitest him? For thou hast made him a
      little lower than the angels, and hast crowned him
      with glory and honour."            Psalms 8:3-5