README for the HP Neoview ODBC Drivers for UNIX HP Part Number: 538123-002 Published: October 2009 Edition: HP Neoview Release 2.
© Copyright 2009 Hewlett-Packard Development Company, L.P. Legal Notice Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice.
Table of Contents Checking Version Compatibility............................................................................................................5 Getting the Version of an Installed Client Product...........................................................................5 Installation for Neoview Release 2.4......................................................................................................7 Installation Package...................................................................
Checking Version Compatibility Before installing the client product, check the compatibility of the product with the Neoview platform. Neoview Release of the Client Product Client Product Name Compatible versions of the Neoview platform 2.0 ODBC Drivers for UNIX All versions up to, but not including, Neoview Release 2.2 2.1 ODBC Drivers for UNIX All versions up to, but not including, Neoview Release 2.2 2.2 ODBC Drivers for UNIX Neoview Release 2.2 and later versions 2.
2. Use the nm command to return this version information: _###HPODBC__2.4._ • • • is a three-character or seven-character identifier for the SPR, for example N27 or N25_AAX. 2.4. is the version number (for example, 2.4.3 for driver Release 2.4, Update 3). is the date, where yy is the year, mm is the month, and dd is the day (for example, 060419).
Installation for Neoview Release 2.4 These installation instructions apply to Neoview Release 2.4 and subsequent updates of the product until otherwise indicated by a replacement README. NOTE: These instructions do not necessarily apply to updates earlier than the client update number shown on the title page of this document.
Distribution File 8 File Contents Supported Platform hpodbc_T0775_2.4._HPUX_I_64_pkg.tar.gz libhpodbc_i64.sl. libhpodbc_i64_drvr.sl. MXODSN MD5SUM sql.h sqlext.h sqltypes.h hpsqlext.h install.h connect_test.cpp HP-UX (IA-64) 64 bit hpodbc_T0775_2.4._HPUX_P_pkg.tar.gz libhpodbc_p.sl. libhpodbc_drvr_p.sl. MXODSN MD5SUM sql.h sqlext.h sqltypes.h hpsqlext.h install.h connect_test.cpp HP-UX PA-RISC hpodbc_T0775_2.4._HPUX_P_64_pkg.tar.gz libhpodbc_p64.sl.
Distribution File File Contents Supported Platform hpodbc_T0775_2.4._SPARC_pkg.tar.gz libhpodbc_ss.so. libhpodbc_drvr_ss.so. MXODSN MD5SUM sql.h sqlext.h sqltypes.h hpsqlext.h install.h connect_test.cpp Sun SPARC® hpodbc_T0775_2.4._SPARC64_pkg.tar.gz libhpodbc_ss64.so. libhpodbc_drvr_ss64.so. MXODSN MD5SUM sql.h sqlext.h sqltypes.h hpsqlext.h install.h connect_test.
6. 7. 8. 10 Move the distribution file into the temporary directory on the client workstation: Client Operating System Distribution File Linux hpodbc_T0775_2.4._LINUX_pkg.tar.gz x86_64 Linux hpodbc_T0775_2.4._LINUX64_pkg.tar.gz IA-64 Linux hpodbc_T0775_2.4._LINUXIA64_pkg.tar.gz HP-UX (IA-64) hpodbc_T0775_2.4._HPUX_I_pkg.tar.gz HP-UX (IA-64) 64 bit hpodbc_T0775_2.4._HPUX_I_64_pkg.tar.gz HP-UX (PA-RISC) hpodbc_T0775_2.4._HPUX_P_pkg.
9. Client Operating System tar Command HP-UX (PA-RISC) tar –xvf hpodbc_T0775_2.4._HPUX_P_pkg.tar HP-UX (PA-RISC) 64 bit tar –xvf hpodbc_T0775_2.4._HPUX_P_64_pkg.tar.gz IBM AIX® tar –xvf hpodbc_T0775_2.4._AIX_pkg.tar IBM AIX® 64 bit tar –xvf hpodbc_T0775_2.4._AIX64_pkg.tar Sun SPARC® tar –xvf hpodbc_T0775_2.4._SPARC_pkg.tar Sun SPARC® 64 bit tar –xvf hpodbc_T0775_2.4._SPARC64_pkg.tar Install the product: cd PkgTmp ./install.
Using a Third Party Driver Manager • • • If you are using an external driver manager, you must point to libhpodbc_drvr and not to libhpodbc. (Use libhpodbc_drvr64 if you are using 64-bit versions of external driver managers.) The driver (libhpodbc_drvr.so) has been verified with iODBC and unixODBC driver managers. These driver managers, as well as documentation, can be found at these Web sites: http://www.iodbc.org/ http://www.unixodbc.
Client OS Compile Command IA-64 Linux g++ connect_test.cpp -L/usr/lib -I/usr/include/hpobdc \ -lhpodbc -o connect_test NOTE: On IA-64 Linux, you will occasionally see warning messages like “unaligned access to 0xa00000020065805f, ip=0xa0000001002a48d1.” This warning can be ignored. To disable these warning messages, enter: prctl --unaligned=silent This command turns off all unaligned access warnings for that session. For more information, see http://kbase.redhat.com/faq/FAQ_105_9111.shtm.
Client OS Compile Command IBM AIX® g++ -maix32 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \ -lhpodbc -o connect_test or, if the xlc/xlc++ compiled HP ODBC library is installed: xlc++ -q32 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \ -lhpodbc -o connect_test IBM AIX® 64 bit g++ -maix64 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \ -lhpodbc64 -o connect_test or, if the xlc/xlc++ compiled HP ODBC library is installed: xlc++ -q64 connect_test.