Skip to main content

This article explains an error that occurs if a COBOL program using XML is not linked to shared runtime.

Problem:

When linking a COBOL program to an EXE you can get the following error message:

LNK2001: unresolved external symbol _CBL_XMLIOOr LNK2001: unresolved external symbol _CBL_XMLIO_INTERFACE

Resolution:

This error occurs if you attempt to link a COBOL program that contains XML syntax to the static COBOL runtime. COBOL programs that use XML need to be linked to the shared runtime. If you change the build setting for your EXE then it should link correctly.

Incident Number: 2284296

Old KB# 14492