This doesnt seem to be a perl problem at all, or were you trying to install DBD::DB2?
in reply to (OT) IBM DB2 Client installation problem
Anyway, the error you got means that somehow it cant find the localised version of the error message for SQL1512N, which is this:
At a wild guess, it's trying to write to ~/sqllib/db2dump/db2diag.log, but it could be some other thing..
ddcstrc could not write to the specified file.
ddcstrc was not able to write the trace information to the filename th
+at it has been instructed to write to.
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.