Workaround: How to compile unixODBC for 32-bits on 64-bit systems to manage Rational XML ODBC driver

Workaround Summary

Change the configuration properties of the unixODBC to compile it as the 32-bits mode on the 64-bit systems.

More Information

Versions: Rational Insight 1.0,,, 1.0.1,, 1.1, 1.1.1
Platforms: All


If the configuration of unixODBC is not modified, the unixODBC is compiled and installed as 64-bits by default on the 64-bits systems. Once it is configured as 64-bit, you will not be able to use unixODBC to manage and call Rational XML ODBC driver.

Errors reported:

Error: when executing the isql -v ClearQuest will get the fragment exception issue.


  1. Prepare flags for compilation of the unixODBC:

    Run the ./configure command to generate the libtool file and then modify the file libtool to change the first two occurrences entry -shared to -shared -m32.
  2. Run the following commands to set Flags for the system environment and configure and install the unixODBC:

    export CFLAGS=-m32 LDFLAGS=-m32 CXXFLAGS=-m32  make  make install
    Note: on the S390x operation system need to execute the export CFLAGS=-m31 LDFLAGS=-m31 CXXFLAGS=-m31 to replace the export line.

Related Information

The following link points to related information:

Was this information helpful? Yes No 0 people rated this as helpful.