joy_deep has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to install DBD for DB2. I have downloaded DBD-DB2-1.80a.tar.gz as well as DBD-DB2.ppd. I am using Windows 7 64-bit with Visual C++ 2008 Express edition.
When I try to ppm install DBD-DB2.ppd, it gives me error "ppm install failed: The PPD does not provide code to install for this platform".
I downloaded Active Perl 32-bit and installed it. DBD::DB2 is not included but DBD::Oracle is there and working fine. I ran vsvars32.bat. Then from CPAN, when I issued install DBD::DB2, it gave so many warnings and finally with these following 6 errors, it stopped.
dbdimp.obj : error LNK2019: unresolved external symbol _SQLGetLength@2 +0 referenced in function _get_lob_length dbdimp.obj : error LNK2019: unresolved external symbol _SQLGetSubStrin +g@40 referenced in function _get_lob_data dbdimp.obj : error LNK2019: unresolved external symbol _sqledcls_api@8 + referenced in function _db2_data_sources dbdimp.obj : error LNK2019: unresolved external symbol _sqledgne_api@1 +2 referenced in function _db2_data_sources dbdimp.obj : error LNK2019: unresolved external symbol _sqledosd_api@1 +6 referenced in function _db2_data_sources dbdimp.obj : error LNK2019: unresolved external symbol _SQLBindFileToP +aram@32 referenced in function _db2_bind_ph blib\arch\auto\DBD\DB2\DB2.dll : fatal error LNK1120: 6 unresolved ext +ernals NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual S +tudio 9.0\VC\BIN\link.EXE"' : return code '0x460' Stop.
What am I doing wrong here? Please help.
Thanks, Joydeep
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD-DB2
by locked_user sundialsvc4 (Abbot) on May 01, 2011 at 15:55 UTC | |
by joy_deep (Initiate) on May 02, 2011 at 11:59 UTC | |
by mje (Curate) on May 04, 2011 at 08:41 UTC | |
|
Re: DBD-DB2
by Brutha (Friar) on Mar 12, 2012 at 09:56 UTC |