Question - Can't locate object method "driver"

From: druclark <druclark(at)cox(dot)net>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Question - Can't locate object method "driver"
Date: 2004-10-31 19:08:32
Message-ID: 41853830.70804@cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hey all -

I have a runtime issue - Ive seen a number of other posting (via google) but no solutions
to the issue - I hope you guys can help:

Thanks much!

Heres the error:
----------------------------
DBD::Pg initialisation failed: Can't locate object method "driver" via package "DBD::Pg"
at /net/gdcraid/gdcportal/apps/perl/perl5/lib/site_perl/5.8.5/sun4-solaris/DBI.pm line 748.

Perhaps the capitalisation of DBD 'Pg' isn't right. at ./postgres_test_connection.pl line 24

----------------------------
Here is the support info:

perl : perl-5.8.5
postgres: postgresql_7.4.3
pgsql: pgsql_perl5-1.9.0
----------------------------
perl -v

This is perl, v5.8.5 built for sun4-solaris
----------------------------
perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos shellback 5.8 generic_117350-08 sun4u sparc sunw,sun-blade-1000 '
config_args='-Dprefix=/net/gdcraid/gdcportal/apps/perl/perl5'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-I/usr/local/include'
ccversion='WorkShop Compilers 5.0 98/12/15 C 5.0', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/lib -L/usr/ccs/lib
-L/opt/SUNWspro/SC5.0/lib -L/usr/local/lib '
libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/SC5.0/lib /usr/local/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/SC5.0/lib
-L/usr/local/lib'

Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Oct 29 2004 13:11:59
@INC:
/net/gdcraid/gdcportal/apps/perl/perl5/lib/5.8.5/sun4-solaris
/net/gdcraid/gdcportal/apps/perl/perl5/lib/5.8.5
/net/gdcraid/gdcportal/apps/perl/perl5/lib/site_perl/5.8.5/sun4-solaris
/net/gdcraid/gdcportal/apps/perl/perl5/lib/site_perl/5.8.5
/net/gdcraid/gdcportal/apps/perl/perl5/lib/site_perl
/net/gdcraid/gdcportal/apps/perl/perl5/modules
----------------------------

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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Carlos Ojea Castro 2004-11-03 11:54:26 Re: : Unable to load libsqlpg.so
Previous Message Grupos 2004-10-30 18:50:46 UNSUPORTED TYPE => TEXT