Thread
-
Pg.so bug
Daniel Péder <dpeder@infoset.cz> — 1999-10-07T14:03:44Z
============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name : Your email address : System Configuration --------------------- Architecture (example: Intel Pentium) :Intel Pentium Operating System (example: Linux 2.0.26 ELF) :Kernel 2.2.5-22 on an i586 PostgreSQL version (example: PostgreSQL-6.5.1): PostgreSQL-6.5.1 Compiler used (example: gcc 2.8.0) : n/a, used already compiled code Please enter a FULL description of your problem: ------------------------------------------------ perl itself and anything other is runnig well trying to ""use"" Pg.pm I am getting this message: Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so' for module Pg: /usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so: undefined symbol: Perl_markstack_ptr at usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. Please describe a way to repeat the problem. Please try to provide a concise reproducible example, if at all possible: ---------------------------------------------------------------------- If you know how this problem might be fixed, list the solution below: --------------------------------------------------------------------- >From scrappy@postgresql.org Thu Oct 7 09:22:39 1999 Received: from ns.infoset.cz (ns.infoset.cz [194.213.32.210]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA60468 for <pgsql-bugs@postgresql.org>; Thu, 7 Oct 1999 09:21:34 -0400 (EDT) (envelope-from dpeder@infoset.cz) Received: from WinProxy.anywhere ([62.168.15.178]) by ns.infoset.cz (8.8.7/8.8.7) with SMTP id PAA01119 for <pgsql-bugs@postgresql.org>; Thu, 7 Oct 1999 15:28:05 +0200 Received: from 192.168.1.1 by 192.168.1.3 (WinProxy); Thu, 7 Oct 1999 15:24:08 +0100 Received: by Dan with Microsoft Mail id <01BF10D7.5977CDE0@Dan>; Thu, 7 Oct 1999 15:19:29 +0100 Message-ID: <01BF10D7.5977CDE0@Dan> From: =?iso-8859-2?Q?Daniel_P=E9der?= <dpeder@infoset.cz> To: "'pgsql-bugs@postgresql.org'" <pgsql-bugs@postgresql.org> Subject: Pg.so bug Date: Thu, 7 Oct 1999 15:19:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id JAA60523 sorry, again, fully filled ============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name : Daniel Peder Your email address :dpeder@infoset.cz System Configuration --------------------- Architecture (example: Intel Pentium) :Intel Pentium Operating System (example: Linux 2.0.26 ELF) :Kernel 2.2.5-22 on an i586 PostgreSQL version (example: PostgreSQL-6.5.1): PostgreSQL-6.5.1 Compiler used (example: gcc 2.8.0) : n/a, used already compiled code Please enter a FULL description of your problem: ------------------------------------------------ perl itself and anything other is runnig well trying to ""use"" Pg.pm I am getting this message: Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so' for module Pg: /usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so: undefined symbol: Perl_markstack_ptr at usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. Please describe a way to repeat the problem. Please try to provide a concise reproducible example, if at all possible: ---------------------------------------------------------------------- from linux console: [root@linux2 ]# cat test.pm #!/usr/bin/perl -w use Pg.pm; 1; [root@linux2 ]# perl -c test.pm Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so' for module Pg: /usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so: undefined symbol: Perl_markstack_ptr at usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. ... If you know how this problem might be fixed, list the solution below: --------------------------------------------------------------------- >From scrappy@postgresql.org Thu Oct 7 10:52:39 1999 Received: from sss.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA78758 for <pgsql-bugs@postgresql.org>; Thu, 7 Oct 1999 10:51:44 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.sss.pgh.pa.us (8.9.1/8.9.1) with ESMTP id KAA29196; Thu, 7 Oct 1999 10:50:30 -0400 (EDT) To: =?iso-8859-2?Q?Daniel_P=E9der?= <dpeder@infoset.cz> cc: "'pgsql-bugs@postgresql.org'" <pgsql-bugs@postgresql.org> Subject: Re: [BUGS] Pg.so bug In-reply-to: Your message of Thu, 7 Oct 1999 15:03:44 +0100 <01BF10D5.2740CD60@Dan> Date: Thu, 07 Oct 1999 10:50:29 -0400 Message-ID: <29194.939307829@sss.pgh.pa.us> From: Tom Lane <tgl@sss.pgh.pa.us> =?iso-8859-2?Q?Daniel_P=E9der?= <dpeder@infoset.cz> writes: > Compiler used (example: gcc 2.8.0) : n/a, used already compiled code > Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so' for module Pg: /usr/lib/perl5/site_perl/i386-linux/auto/Pg/Pg.so: undefined symbol: Perl_markstack_ptr at usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. We've seen a couple reports of this sort of problem that were due to trying to use a copy of Pg.so that was compiled against a different version of Perl. It seems the Perl guys have been changing the binary-level interface for loadable modules recently :-(. You may need to build the Perl module locally in order to get a copy that works with the version of Perl you have. regards, tom lane