Re: Please, help me! - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Please, help me!
Date
Msg-id 617.1030719051@sss.pgh.pa.us
Whole thread Raw
In response to Please, help me!  (Pavel Shmidt <cacadu@beep.ru>)
List pgsql-bugs
Pavel Shmidt <cacadu@beep.ru> writes:
> $ createlang plperl dbname
> ERROR:  Load of file /usr/local/pgsql/lib/plperl.so failed: ld.so.1:
> /usr/local/pgsql/bin/postmaster: fatal: libperl.so: open failed: No such file
> or directory
> createlang: language installation failed

It seems to be unhappy because it can't find libperl.so.

Do you have libperl built as a shared library?  I'm not sure about perl
5.8, but in earlier perl releases it was never the default to build perl
as a shared library.

If you do have libperl.so, then the next probability is that the dynamic
linker doesn't know where to look for it.  Make sure the postmaster is
started with an appropriate LD_LIBRARY_PATH setting.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Pavel Shmidt
Date:
Subject: Please, help me!
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #754: Bug with inserts and rules on inserts in Postgres 7.2.1-3