我正在尝试按照on this IBM site的说明创建Windows的Perl DB2远程连接。
然而,我收到错误并且无法正常工作
Flow
Windows7 64位
DB2 Client v10.5(fp8)64bit
Perl v5.20(64bit)
DBD :: DB2驱动程序(32位)
install_driver(DB2) failed: Can't load
'C:/Perl64/site/lib/auto/DBD/DB2/Constants/Constants.dll' for module DBD::DB2::Constants: load_file:%1
It is not a valid Win32 application. at C:/Perl64/lib/DynaLoader.pm line 194.
at C:/Perl64/site/lib/DBD/DB2.pm line 31.
Compilation failed in require at C:/Perl64/site/lib/DBD/DB2.pm line 31.
BEGIN failed--compilation aborted at C:/Perl64/site/lib/DBD/DB2.pm line31.
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
This is perl 5, version 20, subversion 1 (v5.20.1) built for MSWin32-x64-multi-thread
Platform:
osname=MSWin32, osvers=6.1, archname=MSWin32-x64-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef