Perl DBI Return install_driver(Oracle) failed -


i have problem when using padre ide write perl script as

#!/usr/bin/perl use dbi;  $dbh = dbi->connect('dbi:oracle:host=localhost;sid=orcl;port=1521', 'user', 'password', { raiseerror => 1, autocommit => 0 }); 

it raises error

*install_driver(oracle) failed: can't locate loadable object module dbd::oracle in @inc (@inc contains:d:/dwimperl/perl/site/lib d:/dwimperl/perl/vendor/libd:/dwimperl/perl/lib .) @ (eval 54) line 3 compilation failed in require @ (eval 54) line 3. perhaps module dbd::oracle requires hasn't been installedat test.pl line 19* 

but if manually run two-line perl script in command runs successfully.

try installing version of strawberry perl, ships dbd::oracle.

http://strawberryperl.com/release-notes/5.20.0.1-64bit.html

be sure read notes on site concerning oracle client , path setup.

hth


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -