perl - Can't locate loadable object for module DBD::Oracle in @INC : Cygwin -
i using cygwin on windows compile perl modules. able install perl dbi through cpan later installed dbd , aslo said installed.
cpan[1]> install dbd::oracle going read '/home/e1sched/.cpan/metadata' database generated on wed, 24 apr 2013 12:08:01 gmt dbd::oracle date (1.60).
now when execute script, getting error below.
$ ./invpayhistload.sh 5 50000 thu, apr 25, 2013 5:53:31 begin batch process ppid 7580 install_driver(oracle) failed: can't locate loadable object module dbd::oracle in @inc (@inc contains: /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) @ (eval 3) line 3 compilation failed in require @ (eval 3) line 3. perhaps module dbd::oracle requires hasn't been installed @ /usr/local/batch/bin/invpayhistload.pl line 33
dbd::oracle seems have not installed properly. tried many times result same. there problem finding path? @inc
? appreciate reply.
i doubt dbd::oracle
installed properly. it's notoriously difficult work. basicly, need:
- install working(!), configured oracle client
- prepare environment can use oracle client (especially things
ld_library_path
need set right) - fetch latest
dbd::oracle
, runperl makefile.pl; make
hand - hope...
see e.g. this question more information...