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.0.1, 1.0.0.2, 1.0.1, 1.0.1.1, 1.1, 1.1.1
Platforms: All
Problem
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.
Workaround
- 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
. - 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 theexport CFLAGS=-m31 LDFLAGS=-m31 CXXFLAGS=-m31
to replace the export line.
Related Information
The following link points to related information:
Copyright © 2012 IBM Corporation