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).
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22013480