RE: [BUGS] Pg.so bug

From: Daniel Péder <dpeder(at)infoset(dot)cz>
To:
Cc: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: RE: [BUGS] Pg.so bug
Date: 1999-10-07 16:03:55
Message-ID: 01BF10E5.F1613CA0@Dan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

-----Original Message-----
From: Tom Lane [SMTP:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, October 07, 1999 3:50 PM
Cc: 'pgsql-bugs(at)postgresql(dot)org'
Subject: Re: [BUGS] Pg.so bug

<dpeder(at)infoset(dot)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

[dp] ----- RE: ----
yes, it seems to be something like You wrote above. I've been looking into
File: DynaLoader.a
Dir: /usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader

and have (using mc) seen this:
( --NOTICE-- the 3rd line, containing ""PL_markstack_ptr"" instead of above missing ""Perl_markstack_ptr"" )

DynaLoader.o:
00000000 d LastError
U PL_markstack_ptr
U PL_na
U PL_stack_base
U PL_stack_sp
U PL_sv_yes
U Perl_croak
U Perl_form
U Perl_mess
U Perl_newRV
U Perl_newXS
U Perl_safemalloc
U Perl_saferealloc
U Perl_sv_2iv
U Perl_sv_2mortal
U Perl_sv_2pv
U Perl_sv_newmortal
U Perl_sv_setiv
U Perl_sv_setpv
00000028 t SaveError
00000400 T XS_DynaLoader_dl_error
000001c0 T XS_DynaLoader_dl_find_symbol
...truncated

Any further ideas ?

thanx
Dan Peder

Browse pgsql-bugs by date

  From Date Subject
Next Message Lincoln Yeoh 1999-10-08 07:02:23 6.5.2 BUG: Rolling back after dropping a table causes dangling relationships.
Previous Message Tom Lane 1999-10-07 14:50:29 Re: [BUGS] Pg.so bug