Hi,

Thanks Rob. I could install DBD-Oracle 1.19 from trouchelle.com/ppm/, but it
is giving the following error message when I run a simple script which
connects to an oracle database and selects the sysdate from dual. The script
itself seems okay because I am able to run it successfully on another PC
with Perl 5.8.8 build 817 and DBD-Oracle 1.17. If I remember right, this
DBD-Oracle 1.17 is also from trouchelle.com and not from ActiveState. The
error is :

"install_driver(Oracle) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll for module DBD::Oracle:
load_file: one of the library files needed to run this application cannot be
found at C:/Perl/lib/Dynaloader.pm line 229 at (eval4) line 3. Compilation
failed in require at (eval4) line 3. Perhaps a required shared library or
dll isn't installed where expected at ora_test.plx line 7."

ora_test.plx is the name of my script and the line at which it is choking is
the DBI connect line.

jagdish eashwar

On 8/20/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Send Perl-Win32-Users mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> or, via email, send a message with subject or body 'help' to
>         [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>         [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Perl-Win32-Users digest..."
>
>
> Today's Topics:
>
>    1. problems in installing dbd-oracle through ppm (jagdish eashwar)
>    2. Re: problems in installing dbd-oracle through ppm (Sisyphus)
>    3. Re: problems in installing dbd-oracle through ppm (Sisyphus)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 19 Aug 2007 18:08:31 +0530
> From: "jagdish eashwar" <[EMAIL PROTECTED]>
> Subject: problems in installing dbd-oracle through ppm
> To: [email protected]
> Message-ID:
>         <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi,
>
> I downloaded ActiveState Perl today. Thereafter, I could install dbd-mysql
> using ppm. But when I tried to install dbd-oracle, I kept getting the
> error
> "| invalid switch", and then ppm would end abruptly. Is this something
> that
> has to be corrected at the ActiveState end?
>
> jagdish eashwar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/perl-win32-users/attachments/20070819/c9029d69/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Sun, 19 Aug 2007 22:56:25 +1000
> From: "Sisyphus" <[EMAIL PROTECTED]>
> Subject: Re: problems in installing dbd-oracle through ppm
> To: "jagdish eashwar" <[EMAIL PROTECTED]>,
>         <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>         reply-type=original
>
>
> ----- Original Message -----
> From: "jagdish eashwar" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Sunday, August 19, 2007 10:38 PM
> Subject: problems in installing dbd-oracle through ppm
>
>
> > hi,
> >
> > I downloaded ActiveState Perl today. Thereafter, I could install
> dbd-mysql
> > using ppm. But when I tried to install dbd-oracle, I kept getting the
> > error
> > "| invalid switch", and then ppm would end abruptly. Is this something
> > that
> > has to be corrected at the ActiveState end?
> >
>
> I can't reproduce the problem:
>
> ----------------------------------------
> C:\_32>ppm install DBD-mysql
> Downloading ActiveState Package Repository packlist...not modified
> Downloading DBD-mysql-3.0002...done
> Unpacking DBD-mysql-3.0002...done
> Generating HTML for DBD-mysql-3.0002...done
> Updating files in site area...done
>   14 files installed
>
> C:\_32>ppm install DBD-Oracle
> Downloading ActiveState Package Repository packlist...not modified
> Downloading DBD-Oracle-1.19...done
> Unpacking DBD-Oracle-1.19...done
> Generating HTML for DBD-Oracle-1.19...done
> Updating files in site area...done
>   19 files installed
>
> C:\_32>
> ----------------------------------------
>
> I'm using build 822 of ActivePerl. Are you using the same version ? Just
> enter 'perl -v' at the command prompt to find out. Here's what I get:
>
> ----------------------------------------
> C:\_32>perl -v
>
> This is perl, v5.8.8 built for MSWin32-x86-multi-thread
> (with 18 registered patches, see perl -V for more detail)
>
> Copyright 1987-2007, Larry Wall
>
> Binary build 822 [280952] provided by ActiveState
> http://www.ActiveState.com
> Built Jul 31 2007 19:34:48
>
> 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 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.org/, the Perl Home Page.
>
>
> C:\_32>
> ----------------------------------------
>
> Cheers,
> Rob
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 19 Aug 2007 23:08:04 +1000
> From: "Sisyphus" <[EMAIL PROTECTED]>
> Subject: Re: problems in installing dbd-oracle through ppm
> To: "jagdish eashwar" <[EMAIL PROTECTED]>,
>         <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>         reply-type=original
>
>
> ----- Original Message -----
> From: "Sisyphus" <[EMAIL PROTECTED]>
> .
> .
> >
> > I can't reproduce the problem
> .
> .
>
> Actually ... on closer investigation it seems that the DBD-Oracle I
> installed might have come from the trouchelle rep (not the ActiveState
> rep).
>
> Therefore, first try running:
>
> ppm repo add http://trouchelle.com/ppm/
>
> Then re-run:
>
> ppm install DBD-Oracle
>
> Cheers,
> Rob
>
>
>
> ------------------------------
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
> End of Perl-Win32-Users Digest, Vol 13, Issue 13
> ************************************************
>



--
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to