Re: plperl again but different problem - Mailing list pgsql-admin

From Tom Lane
Subject Re: plperl again but different problem
Date
Msg-id 25081.1126631650@sss.pgh.pa.us
Whole thread Raw
In response to Re: plperl again but different problem  (Marcin Giedz <marcin.giedz@eulerhermes.pl>)
Responses Re: plperl again but different problem
Re: plperl again but different problem
List pgsql-admin
Marcin Giedz <marcin.giedz@eulerhermes.pl> writes:
> I don't see any libperl.so :( But doesn't plperl use shared libperl library?

Yeah, it's supposed to.  On an FC4 machine I get

$ ldd libplperl.so
        linux-gate.so.1 =>  (0x00682000)
        libperl.so => /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so (0x00a3f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00520000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x006b5000)
        libdl.so.2 => /lib/libdl.so.2 (0x00c22000)
        libm.so.6 => /lib/libm.so.6 (0x00e9e000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x0049c000)
        libutil.so.1 => /lib/libutil.so.1 (0x00125000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00129000)
        libc.so.6 => /lib/libc.so.6 (0x001d0000)
        /lib/ld-linux.so.2 (0x00109000)

How big a plperl.so do you have?  Mine's about 160K (in a debug-enabled
build), whereas libperl.so is about 1.3M on this machine.  If your
plperl.so is over a megabyte then libperl might be statically linked
into it.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: canceling query due to user request
Next
From: Sergiusz Jarczyk
Date:
Subject: Re: plperl again but different problem