Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Working with DBI and DBD::Oracle

by vksbalaji (Initiate)
on Feb 08, 2005 at 11:11 UTC ( #429007=perlquestion: print w/replies, xml ) Need Help??
vksbalaji has asked for the wisdom of the Perl Monks concerning the following question:

hey... i've been trying to run this simple script to get details from the database and i'm using dbi.pm for that....the script does'nt seem to work...and its giving this error
Can't locate loadable object for module DBI in @INC (@INC contains: C: +\perl\lib C:/Perl/lib C:/Perl/site/lib .) at C:\scripts\dbaccess.pl line 4 Compilation failed in require at C:\scripts\dbaccess.pl line 4. BEGIN failed--compilation aborted at C:\scripts\dbaccess.pl line 4.
what do i do????

20050208 Edit by castaway: Changed title from 'working with dbi::oracle'

Replies are listed 'Best First'.
Re: Working with DBI and DBD::Oracle
by chanakya (Friar) on Feb 08, 2005 at 13:30 UTC
    Install DBI and then install DBD::Oracle.

    Keep in mind that before installing DBD::Oracle, You need to have Oracle client libraries installed and ORACLE_HOME variable set.

    Good Luck!!
Re: Working with DBI and DBD::Oracle
by rdfield (Priest) on Feb 08, 2005 at 11:23 UTC
    "Can't locate loadable object for module DBI in @INC"

    kind of gives the game away. Try installing DBI first.

    rdfield

Re: Working with DBI and DBD::Oracle
by perrin (Chancellor) on Feb 08, 2005 at 12:14 UTC
    How did you install DBI?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://429007]
Approved by Arunbear
help
Chatterbox?
[Discipulus]: śledzie!! the only sweet my father in law eat

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-11-21 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (297 votes). Check out past polls.

    Notices?