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 7D684D8D45 for ; Tue, 13 Sep 2005 12:25:12 -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 93919-04 for ; Tue, 13 Sep 2005 15:25:06 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 54008D8D46 for ; Tue, 13 Sep 2005 12:25:05 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j8DFOHDT023419; Tue, 13 Sep 2005 11:24:17 -0400 (EDT) To: Marcin Giedz Cc: pgsql-admin@postgresql.org Subject: Re: plperl again but different problem In-reply-to: <200509131431.16634.marcin.giedz@eulerhermes.pl> References: <200509131418.02818.marcin.giedz@eulerhermes.pl> <200509131431.16634.marcin.giedz@eulerhermes.pl> Comments: In-reply-to Marcin Giedz message dated "Tue, 13 Sep 2005 14:31:16 +0200" Date: Tue, 13 Sep 2005 11:24:17 -0400 Message-ID: <23418.1126625057@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/139 X-Sequence-Number: 18876 Marcin Giedz writes: >> createlang: language installation failed: ERROR: could not load library >> "/usr/local/postgresql-8.0.3/lib/plperl.so": >> /usr/local/postgresql-8.0.3/lib/plperl.so: undefined symbol: Perl_croak I think you've got some kind of mismatch between the compilation options for Perl proper and those for plperl. IIRC, Perl can spell its exported function names in several different ways (eg, with or without the Perl_ prefix). It looks like plperl is expecting a different convention than what the libperl.so file was actually built with. Use ldd on plperl.so to double check which libperl it's trying to link to. Double check that the Perl header files you compiled plperl against came from the same Perl build that produced libperl.so. regards, tom lane