Pg.pm problems from PostgreSQL and from cpan.org - Mailing list pgsql-interfaces

From Andrew Otwell
Subject Pg.pm problems from PostgreSQL and from cpan.org
Date
Msg-id 3A868BC3.28AEAA4A@networkcomputerz.com
Whole thread Raw
List pgsql-interfaces
I believe I am having problems with the DynaLoader.pm options. I read
the DynaLoader.pm and it stated that when programs encounter erros
referencing line xxx of DynaLoader.pm that simply means the last piece
of code executed was in the DynaLoader.pm.

I have attached your requested information for debugging. Please assist
anyway possible.

Error message:
[ato@runner abin]$ perl sql.pl
Pg object version 1.9.0 does not match bootstrap parameter 1.8.0 at
/usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 219.
Compilation failed in require at sql.pl line 5.
BEGIN failed--compilation aborted at sql.pl line 5.

Script's header section:
#!/usr/bin/perl

use strict;
use CGI;
use Pg;
use DateTime::Precise;
require 'subs.pl';

Thanks very much.
ato

--
  Andy Otwell
  ato@networkcomputerz.com
  www.NetworkComputerz.co
This is perl, v5.6.0 built for i386-linux

Copyright 1987-2000, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

-------------------------------------------

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.5-22smp, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2 09:11:51 edt 1999 i686 unknown '
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc -Dcccdlflags=-fPIC -Dinstallprefix=/usr
-Dprefix=/usr-Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog
-Dman3ext=3pm-Uuselargefiles' 
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O2 -march=i386 -mcpu=i686', gccversion=2.96 20000731 (experimental)
    cppflags='-fno-strict-aliasing'
    ccflags ='-fno-strict-aliasing'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc-2.1.92.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under linux
  Compiled at Aug  7 2000 10:59:51
  @INC:
    /usr/lib/perl5/5.6.0/i386-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i386-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl
    .
---------------------------
PostgreSQL 7.0.3 built once with -with-perl and once with no ./configure options
pgsql_perl5-1.9.0.tar.gz

pgsql-interfaces by date:

Previous
From: Sasha
Date:
Subject: Problem with JDBC driver: rs.next() is always null
Next
From: Daisuke Maki
Date:
Subject: lo_creat problem?