The ODBC drivers require certain runtime library patches. The patch numbers are listed in the readme file for your product. HP-UX patches are publicly available from the HP Web site http://www.hp.com.
HP updates the patch database regularly; therefore, the patch numbers in the readme file may be superseded by newer versions. If you search for the specified patch on an HP site and receive a message that the patch has been superseded, download and install the replacement patch.
If you are building 64-bit binaries, you must pass the define ODBC64. The example Application provides a demonstration of this. See the installed file example.txt for details. You must also include the +DD64 compiler switch if you are building 64-bit binaries. For instance, to build example, you would use:
aCC -Wl,+s +DD64 -DODBC64 -o example -I../include example.c -L../lib -lodbc