Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old February 8th, 2001, 11:57 AM
vibhagarg vibhagarg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 1 vibhagarg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Hi,

I am trying to connect to Oracle on unix box using DBI-DBD modules in perl. I statically linked the DBD module as dynamic linking was failure. When I run my perl application it says "DBD::Oracle::ORA_OCI() is deprecated" and "DBD::Oracle initialisation failed: Can't locate aut
o/DBD/Oracle/ORA_OCI.al in @INC....".
I am sure ORA_OCI.al file is nowhere on my system.
I am stuck with this problem. Please help me out.

Thanks
Vibha

---------------------------------------------------------
Platform
----------------
- HP-UX B.11.00 A 9000/712 2010898903 two-user license
- Perl, version 5.004_04 built for PA-RISC1.1
DBD-Oracle-1.03
DBI-1.13
Mail-Sendmail-0.77
- Apache 1.3.12 (This doesn't matter as we were using 1.3.2 sometime ago)
- Oracle8 Enterprise Edition Release 8.0.5.0.0 - Production

Error log message is
------------------------------------------------------------
Use of inherited AUTOLOAD for non-method DBD::Oracle::ORA_OCI() is deprecated at /home
/vibha/lib/perl5/site_perl//DBD/Oracle.pm line 48.
[Wed Feb 7 16:35:01 2001] [error] DBD::Oracle initialisation failed: Can't locate aut
o/DBD/Oracle/ORA_OCI.al in @INC (@INC contains: /home/vibha/lib/perl5/5.00503/ /home/v
ibha/lib/perl5/site_perl/ /home/vibha/lib/perl5/site_perl/5.005 /opt/apache/lib/perl5/
site_perl/5.005/PA-RISC1.1 /opt/apache/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/
5.00503/PA-RISC1.1 /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/P
A-RISC1.1 /usr/local/lib/perl5/site_perl/5.005 . /opt/apache/ /opt/apache/lib/perl) at
/home/vibha/lib/perl5/site_perl//DBD/Oracle.pm line 48

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


Reply With Quote
  #2  
Old February 8th, 2001, 03:36 PM
dsb dsb is offline
PerlGuy
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2001
Posts: 714 dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 15 h 44 m 20 sec
Reputation Power: 36
Send a message via AIM to dsb
Wink

Depracated means that the module isn't really used anymore...are you using the DBI module? You may have to get a more recent version of DBI and the driver for oracle for this all to work...That's what I would bet on in fact.
Go to CPAN and get the most recent version of those two things and you should be in pretty good shape.
http://www.cpan.org/modules/by-module/

Hope this helps
__________________
- dsb -
Perl Guy

Reply With Quote
  #3  
Old February 8th, 2001, 03:47 PM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 469 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 19 sec
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
Not sure what the newest version of DBI-Oracle is, but the most recent version of DBI is 1.14

Mickalo
__________________

Thunder Rain Internet Publishing

Custom Programming & Database development
Providing Personal/Business
Internet Solutions that work!

Reply With Quote
  #4  
Old February 8th, 2001, 03:52 PM
dsb dsb is offline
PerlGuy
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2001
Posts: 714 dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 15 h 44 m 20 sec
Reputation Power: 36
Send a message via AIM to dsb
Wink

You would need DBI and DBD::Oracle.
Not to nitpick mickalo but there is a difference.

Reply With Quote
  #5  
Old February 8th, 2001, 04:08 PM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 469 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 19 sec
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
Quote:
Originally posted by dsb
You would need DBI and DBD::Oracle.
Not to nitpick mickalo but there is a difference.


Right you are, my mistake. I did mean DBD-Oracle.. According to CPAN the most recent version is 1.06

Cheers,

Mickalo

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Problem on DBD::Oracle with Perl


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway