This doesnt seem to be a perl problem at all, or were you trying to install DBD::DB2?
Anyway, the error you got means that somehow it cant find the localised version of the error message for SQL1512N, which is this:
SQL1512N
ddcstrc could not write to the specified file.
Explanation:
ddcstrc was not able to write the trace information to the filename th
+at it has been instructed to write to.
User Response:
Ensure that the filename specified is valid for your file system. If a
+ filename is not specified, ensure that you have the necessary permis
+sion to write to the default file ddcstrc.tmp.
At a wild guess, it's trying to write to ~/sqllib/db2dump/db2diag.log, but it could be some other thing..
C.