Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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/ line 748.

Perhaps the capitalisation of DBD 'Pg' isn't right. at ./ 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:
     osname=solaris, osvers=2.8, archname=sun4-solaris
     uname='sunos shellback 5.8 generic_117350-08 sun4u sparc sunw,sun-blade-1000 '
     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
     cc='/opt/SUNWspro/bin/cc', ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE 
     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/, so=so, useshrplib=false, libperl=libperl.a
   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 

Characteristics of this binary (from libperl):
   Compile-time options: USE_LARGE_FILES
   Built under solaris
   Compiled at Oct 29 2004 13:11:59



pgsql-interfaces by date

Next:From: Carlos Ojea CastroDate: 2004-11-03 11:54:26
Subject: Re: : Unable to load
Previous:From: GruposDate: 2004-10-30 18:50:46

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group