Thread: Can't load plperl.so

Can't load plperl.so

From
GoodleafJ@immunex.com
Date:
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