I did not know what 'perlcc' was and so had to read a bit about it. Given that your scenario is OK with 'perl', there is no need to question your installation of DBI and DBD-Oracle modules. Instead, the focus must be on perlcc and how it might have different requirements than perl.
I searched www.google.com and found more than 1 hit suggesting that, because you are using perlcc, your code needs the following near the top of your logic: BEGIN { require DBI; require DBD::Oracle; } My guess is this will either completely fix your issues or will at least get you past your current ones. Consider searching google if/when the next error message appears. At 12:01 PM 6/24/2002 -0400, you wrote: >Muchas gracias de todas maneras, si sabes algo por favor te le >agradeceré... > >Muy atentamente, > >Germán Marambio Vargas > > > > > "PARLEY,JON > > (HP-MountainVi To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]>, > ew,ex1)" "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> > <jon_parley@hp cc: > > .com> Subject: FW: HELP ME !! > Can't locate object method "connect" via > package > " DBI" > 24-06-2002 > > 11:50 > AM > > > > > > > > > >German, > >Estoy apesadumbrado. No tengo ninguna experiencia con el perlcc. > >--Thunder > >dbi-users, > >TRANSLATION: > >"When I execute with Perl, I don't have any problems. When I do an >executable with perlcc, at the moment I execute the archive, I get the >message 'Can't locate object method connect via package DBI' " > > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Monday, June 24, 2002 8:47 AM >To: PARLEY,JON (HP-MountainView,ex1) >Subject: RE: HELP ME !! Can't locate object method "connect" via package >" DBI" >Importance: High > > > >Cuando lo ejecuto con Perl no tengo problemas pero cuando hago un >ejecutable con perlcc >al momento de ejecutar el archivo me sale el mensaje Can't locate object >method "connect" via package " DBI" >El codigo es super simple: > >Agradezco desde ya su ayuda.... es de vital importancia. > >#!/usr/local/bin/perl -w >use DBI; >$dbh; >$sth; >{ > $v_dbname = $ENV{ORACLE_SID}; > $v_userDB = 'fa'; > $v_passDB = 'af1'; > $v_dbd = 'Oracle'; > >#================= Conexión a BD ======================== > $dbh=DBI->connect($v_dbname,$v_userDB,$v_passDB,$v_dbd) || die "Error de >Conexión: $DBI::errstr. \n"; > $sth=$dbh->prepare(" > select to_char(sysdate, 'dd/mm/yyyy hh24:mm:dd') >from dual > "); > $sth->execute; > @row=$sth->fetchrow_array; > print "La fecha del sistema es: $row[0]\n"; >} > > >Muy atentamente, > >Germán Marambio Vargas > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Monday, June 24, 2002 8:24 AM >To: [EMAIL PROTECTED] >Subject: HELP ME !! Can't locate object method "connect" via package >"DBI" > > >Hi dears > >Excuseme, my english is very poor. >My Name is Germán i live in Chile(South America), i have the following >problem: "can't locate object method "connect" via package >"DBI". >If your have the solution.... >help me, please...!!! >How can solution? > >Thanks a lot > >Muy atentamente, > >Germán Marambio Vargas