From: Andrew Otwell <ato@networkcomputerz.com>
To: pgsql-interfaces@postgresql.org
Subject: Pg.pm problems from PostgreSQL and from cpan.org
Date: Sun, 11 Feb 2001 07:55:31 -0500
Message-ID: <3A868BC3.28AEAA4A@networkcomputerz.com> (raw)
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
Attachments:Pg-debug.txt (text/plain, 2.5K) download
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: ato@networkcomputerz.com
Subject: Re: Pg.pm problems from PostgreSQL and from cpan.org
In-Reply-To: <3A868BC3.28AEAA4A@networkcomputerz.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox