Обсуждение: Pg.so bug

Поиск
Список
Период
Сортировка

Pg.so bug

От
Daniel Péder
Дата:
============================================================================
                        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.pmline 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:
---------------------------------------------------------------------

Re: [BUGS] Pg.so bug

От
Tom Lane
Дата:
=?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.pmline 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