Hi.

I'm running XP SP3

Active Perl 5.14.2.1402

PPM 4.14

DBI 1.625

DBD::DB2 1.85

My connection -

     $dbh = DBI->connect ("dbi:DB2:Sort", "$ID", "$PW",
     {
        RaiseError => 1,
        PrintError => 1,
        AutoCommit => 1,
     }
     ) or die $DBI::errstr;

fails with -

install_driver(DB2) failed: Can't load 'c:/Perl/site/lib/auto/DBD/DB2/DB2.dll' 
for module DBD::DB2: load_file:The specified module could not be found at 
c:/Perl/lib/DynaLoader.pm line 191.
 at (eval 6) line 3
Compilation failed in require at (eval 6) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at HyperMail/Includes.pm line 74

but c:/Perl/site/lib/auto/DBD/DB2/DB2.dll exists with today's date on it.  I 
have DB2_HOME set to C:\Program Files\IBM\SQLLIB\lib.  Does anyone know what 
I'm missing here?

Harry


Reply via email to