Windows Perl DB2数据库远程连接问题

时间:2017-02-16 14:40:15

标签: windows perl db2 dbi db2-luw

我正在尝试按照on this IBM site的说明创建Windows的Perl DB2远程连接。

然而,我收到错误并且无法正常工作

命令控制台错误消息

Flow

环境信息

Perl -v

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

Perl -V

This is perl 5, version 20, subversion 1 (v5.20.1) built for MSWin32-x64-multi-thread

Perl DB2连接源

  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

0 个答案:

没有答案