X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D1727D8D0E for ; Tue, 13 Sep 2005 14:30:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24285-01 for ; Tue, 13 Sep 2005 17:30:37 +0000 (GMT) Received: from ns01.qresc.com (ns01.qresc.com [212.244.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id BC800D8CEA for ; Tue, 13 Sep 2005 14:30:37 -0300 (ADT) Received: from [127.0.0.1] (ip-85-198-229-198.broker.com.pl [85.198.229.198]) by ns01.qresc.com (8.13.4/8.13.4/Debian-3) with ESMTP id j8DHQWsc004097 for ; Tue, 13 Sep 2005 19:26:34 +0200 Message-ID: <43270CB4.4010807@qresc.com> Date: Tue, 13 Sep 2005 19:30:28 +0200 From: Sergiusz Jarczyk User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: plperl again but different problem References: <200509131418.02818.marcin.giedz@eulerhermes.pl> <200509131431.16634.marcin.giedz@eulerhermes.pl> <23418.1126625057@sss.pgh.pa.us> <200509131837.20948.marcin.giedz@eulerhermes.pl> <25081.1126631650@sss.pgh.pa.us> In-Reply-To: <25081.1126631650@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/144 X-Sequence-Number: 18881 Hi Tom Lane napisał(a): >Marcin Giedz 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. > > For PostgreSQL compiled from sources, it's statically linked: postgres@ns02:/usr/local/pgsql/lib$ ldd plpgsql.so libc.so.6 => /lib/tls/libc.so.6 (0xb7ea5000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) Sergiusz