Can't load plperl.so

From: GoodleafJ(at)immunex(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Can't load plperl.so
Date: 2002-01-11 00:41:31
Message-ID: OF54F75BF7.89B317A8-ON88256B3E.000298A0@immunex.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
Please give me a suggestion. I've searched the archives but haven't found
an answer that I haven't already tried.
Here's the situation:

-PostgreSQL 7.1.3 on Solaris 8 (Sun Blade)
-Recompiled Perl 5.6.1 so that it's a shared object. There is a libperl.so
-Compiled and installed postgres, including --with-perl with no problem;
there is a plperl.so.
-When I run createlang plperl template1 I get an error:
ERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: ld.so.1:
./postmaster: fatal: libperl.so: open failed: No such file or directory
createlang: language installation failed

-Yet I can guarantee that libperl.so is in the perl5/5.6.1 subdirectory. I
even put the whole thing in LD_LIBRARY_PATH.

-Here is the output from ldd -v plperl.so. It looks ok, but I don't have a
lot of experience looking at such things.

find object=./plperl.so; required by /usr/lib/lddstub

find
object=/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/Opcode/Opcode.so;
required by ./plperl.so
/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/Opcode/Opcode.so

find object=libperl.so; required by ./plperl.so
libperl.so =>
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/libperl.so

find object=libc.so.1; required by ./plperl.so
libc.so.1 => /usr/lib/libc.so.1
find version=libc.so.1
libc.so.1 (SYSVABI_1.3) => /usr/lib/libc.so.1

find object=libc.so.1; required by
/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/Opcode/Opcode.so
libc.so.1 => /usr/lib/libc.so.1
find version=libc.so.1
libc.so.1 (SYSVABI_1.3) => /usr/lib/libc.so.1

find object=libc.so.1; required by
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/libperl.so
libc.so.1 => /usr/lib/libc.so.1
find version=libc.so.1
libc.so.1 (SUNW_0.9) => /usr/lib/libc.so.1
libc.so.1 (SUNW_1.1) => /usr/lib/libc.so.1
libc.so.1 (SISCD_2.3) => /usr/lib/libc.so.1
libc.so.1 (SUNW_0.7) => /usr/lib/libc.so.1
libc.so.1 (SYSVABI_1.3) => /usr/lib/libc.so.1

find object=libdl.so.1; required by /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
find version=libdl.so.1
libdl.so.1 (SUNWprivate_1.1) => /usr/lib/libdl.so.1

find object=/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1; required
by /usr/lib/libc.so.1
/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1

I'm sure I'm missing something stupid. Anyone know what it is?
Thanks,
John

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-01-11 00:45:04 Re: Insert Performance with WAL and Fsync
Previous Message Mike Schroepfer 2002-01-11 00:06:26 Re: Insert Performance with WAL and Fsync