Re: Please, help me!

Started by Tom Laneover 23 years ago1 messagesbugs
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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