IBM Support

Error encountered when linking ITX libraries.

Troubleshooting


Problem

Error encountered when linking IBM Transformation Extender (ITX) libraries.

Symptom

Error encountered when linking ITX libraries.

Cause

The wrong version / build of ICU is in the link path.

For example -L/opt/mqm/lib64 before the IBM Transformation Extender (ITX) library.

Environment

Using the IBM Transformation Extender (ITX) dtxpi to run a map.

Diagnosing The Problem

Linking ITX and the following error is encountered.

/<TXHOME>/libs/libicui18n.so.55: undefined reference to `icu_55::UnicodeSet::UnicodeSet(unsigned short const*, int, icu_55:: UnicodeSet::ESerialization, UErrorCode&)' collect2: error: ld returned 1 exit status

Resolving The Problem

You need to link with dtxpi. There is a need to list other TX libraries from the TX libs directory.

-L$(DTX_HOME_DIR)/libs -ldtxpi

Add the ITX libs directory first in the link line to prevent it from finding wrong ICU (for example the ICU libraries located in the /opt/mqm/lib64 directory).

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"9.0.0.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22013480