Click here to get back home

Pg.pm Question - Can't locate object method driver

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Pg.pm Question - Can't locate object method driver Dru Clark 10-31-2004
Posted by Dru Clark on October 31, 2004, 9:17 pm
Please log in for more thread options
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
----------------------------




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


Similar ThreadsPosted
Can't locate object method "ymd" via package... August 3, 2007, 6:14 am
Can't locate object method "new" via package "Net::SMTP" November 2, 2004, 6:36 pm
GD::Image: Can't locate object method "newFromJpeg" April 1, 2005, 2:51 am
Tk::Browser, "Can't locate object method 'Construct'" January 16, 2008, 4:47 am
Can't locate object method "blocking" via package "IO::Handle" June 20, 2005, 8:38 am
Can't locate object method "newFromJpeg" via package "GD::Image" December 19, 2005, 3:03 am
ant locate object method _session_channel via package Net::SSH::Perl::SSH1 July 13, 2006, 6:05 pm
Cant locate object method _session_channel via package Net::SSH::Perl::SSH1 July 13, 2006, 6:15 pm
How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif") June 5, 2007, 4:22 am
Can't locate loadable object August 4, 2005, 12:18 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap