RE: DBD::Oracle loaded by ppm does not work with Perl 5.14

Brian Raven <[email protected]> Thu, 29 Nov 2012 16:32:16 +0000
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
> -----Original Message-----
> From: [email protected] [mailto:activeperl-
> [email protected]] On Behalf Of Fischer, RonaldX O
> Sent: 29 November 2012 15:16
> To: [email protected]
> Subject: DBD::Oracle loaded by ppm does not work with Perl 5.14
>
> I have used previously Perl 5.8.8 on Windows 7, and now try to port the
> application to 5.14.2.
>
> The new Perl version is installed, the PATHes set up correctly. Next I
> used ppm to get the newest version of DBD::Oracle for this Perl
> version. According to ppm, this is version 1.52. I installed this
> version. However, when using  the module,
>
> perl -we "use DBD::Oracle qw(:ora_types);"
>
> an error dialogue pops up, saying that OCI.dll is missing. After
> clicking OK, I get the error message
>
> Can't load
> 'c:/UserData/rofischx/p/perl_5.14.2/lib/auto/DBD/Oracle/Oracle.dll' for
> module
> DBD::Oracle: load_file:The specified module could not be found at
> c:/UserData/rofischx/p/perl_5.14.2/lib/DynaLoader.pm line 191.
>
> It is not clear, why OCI.dll is not found, or where it is supposed to
> be. However, when I set my PATH and PERL5LIB that it points to the Perl
> 5.8.8 installation on the same host, I don't see this error.

Does environment variable ORACLE_HOME point to where you installed the Oracle client?

HTH

--
Brian Raven




________________________________

Please consider the environment before printing this e-mail.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.

Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs