Workaround: How to compile unixODBC for 32-bits on 64-bit systems to manage Rational XML ODBC driver
Ya Qiang Li
Last Updated: September 4, 2012
Build Basis: Rational Insight 1.0.1
Change the configuration properties of the unixODBC to compile it as the 32-bits mode on the 64-bit systems.
Versions: Rational Insight 1.0, 188.8.131.52, 184.108.40.206, 1.0.1, 220.127.116.11, 1.1, 1.1.1
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.
Error: when executing the
isql -v ClearQuest will get the fragment exception issue.
- Prepare flags for compilation of the unixODBC:
./configurecommand to generate the libtool file and then modify the file libtool to change the first two occurrences entry
- 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 installNote: on the S390x operation system need to execute the
export CFLAGS=-m31 LDFLAGS=-m31 CXXFLAGS=-m31to replace the export line.
The following link points to related information:
Copyright © 2012 IBM Corporation