Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Perl runtime error after installing oracle 10g

Reply
Thread Tools

Perl runtime error after installing oracle 10g

 
 
enigma
Guest
Posts: n/a
 
      11-09-2006
Hi,

I have a perl script which i've been using perfectly with no trouble at
all.. Two days ago i installed Oracle 10g. After i tried to run my
script.. A pop window tells me:

The application has failed to start because Perl56.dll was not found.
Re-installing the application may fix this problem.

After I press OK, i get these errors

Can't load
'C:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWi n32-x86/auto/IO/IO.dll'
for module IO: load_file:The specified module could not be found at
C:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWin 32-x86/XSLoader.pm
line 75.
at C:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWin 32-x86/IO.pm line
9
Compilation failed in require at
C:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWin 32-x86/IO/Handle.pm
line 256.
BEGIN failed--compilation aborted at
C:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWin 32-x86/IO/Handle.pm
line 256.
Compilation failed in require at C:/Perl/site/lib/IO/Scalar.pm line
152.
BEGIN failed--compilation aborted at C:/Perl/site/lib/IO/Scalar.pm line
152.
Compilation failed in require at C:/Perl/site/lib/OLE/Storage_Lite.pm
line 171.
BEGIN failed--compilation aborted at
C:/Perl/site/lib/OLE/Storage_Lite.pm line 171.
Compilation failed in require at
C:/Perl/site/lib/Spreadsheet/ParseExcel.pm line 176.
BEGIN failed--compilation aborted at
C:/Perl/site/lib/Spreadsheet/ParseExcel.pm line 176.
Compilation failed in require at CreateUsFile.pl line 2.
BEGIN failed--compilation aborted at CreateUsFile.pl line 2.

This script loads some modules and it's not finding them it's searching
in the wrong place.. Because if i do a simple perl script like print"
hello "; it works fine!

Can somebody tell me how to tell perl to look in the right place for
those modules?

Thank you

 
Reply With Quote
 
 
 
 
Ingo Menger
Guest
Posts: n/a
 
      11-09-2006

enigma schrieb:

> Hi,
>
> I have a perl script which i've been using perfectly with no trouble at
> all.. Two days ago i installed Oracle 10g. After i tried to run my
> script.. A pop window tells me:
>
> The application has failed to start because Perl56.dll was not found.
> Re-installing the application may fix this problem.
>
> After I press OK, i get these errors
>
> Can't load
> 'C:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWi n32-x86/auto/IO/IO.dll'
> for module IO: load_file:The specified module could not be found at


This is typical. Just when you think you have your working environment
complete, ohh almost, I just install XYZ 5.47, then it happens.
The stupid, dumb bastards of the XYZ company include java 1.2.7 or perl
5.6.1 in their distribution and they make sure, this is called when you
say java or perl.
(A notable exception is NoMagic, they ask during install of MagicDraw
if they should use the java engine that's already installed.)

I recommend the following: find the perl.exe and all perl*dll that is
in the oracle file tree and rename them.
Or remove the correponding entry from PATH, if you can.
After that, your normal perl should work as before.

Take care: some Oracle patch procedures may rely on *their* shipped
perl version. Therefore, before doing another oracle upgrade or patch,
recreate the state of the system you have now (i.e. "perl" would call
the perl shipped with Oracle)

To take the different perls apart, perl -v or perl -V should help. It
shows, among others, the default @INC-path.

 
Reply With Quote
 
 
 
 
enigma
Guest
Posts: n/a
 
      11-10-2006
Hi,

Thanks alot..I did something similar...unsetting an environment
variable by:
@set PERL5LIB=

Perl's work wonderfully as before..Still don't know how would oracle
behave!

Mazen

Ingo Menger wrote:
> enigma schrieb:
>
> > Hi,
> >
> > I have a perl script which i've been using perfectly with no trouble at
> > all.. Two days ago i installed Oracle 10g. After i tried to run my
> > script.. A pop window tells me:
> >
> > The application has failed to start because Perl56.dll was not found.
> > Re-installing the application may fix this problem.
> >
> > After I press OK, i get these errors
> >
> > Can't load
> > 'C:\oracle\product\10.1.0\Db_1\perl\5.6.1\lib\MSWi n32-x86/auto/IO/IO.dll'
> > for module IO: load_file:The specified module could not be found at

>
> This is typical. Just when you think you have your working environment
> complete, ohh almost, I just install XYZ 5.47, then it happens.
> The stupid, dumb bastards of the XYZ company include java 1.2.7 or perl
> 5.6.1 in their distribution and they make sure, this is called when you
> say java or perl.
> (A notable exception is NoMagic, they ask during install of MagicDraw
> if they should use the java engine that's already installed.)
>
> I recommend the following: find the perl.exe and all perl*dll that is
> in the oracle file tree and rename them.
> Or remove the correponding entry from PATH, if you can.
> After that, your normal perl should work as before.
>
> Take care: some Oracle patch procedures may rely on *their* shipped
> perl version. Therefore, before doing another oracle upgrade or patch,
> recreate the state of the system you have now (i.e. "perl" would call
> the perl shipped with Oracle)
>
> To take the different perls apart, perl -v or perl -V should help. It
> shows, among others, the default @INC-path.


 
Reply With Quote
 
Ingo Menger
Guest
Posts: n/a
 
      11-10-2006

enigma schrieb:

> Hi,
>
> Thanks alot..I did something similar...unsetting an environment
> variable by:
> @set PERL5LIB=


Yes, I forgot to mention that one. It's most important.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sequence.nextval numeric type in Oracle 10g differs from Oracle 8i when using MS OleDb provider alasdair.johnson@gmail.com ASP .Net 0 04-27-2007 04:57 PM
Error connecting to Oracle 10g w/ ActiveRecord Drew Olson Ruby 2 03-06-2007 02:18 PM
Access Oracle 10g using ASP.NET sloan ASP .Net 1 03-11-2006 06:48 AM
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. Feyruz Perl Misc 4 10-14-2005 06:47 PM
Oracle 10g JDBC question waynes_zhong@yahoo.com Java 10 05-15-2005 10:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57