The sections “For Windows Users” and “For UNIX and Linux Users” contain information specific to your operating environment.The following sections refer to threading models. Refer to Chapter 3 “Threading” in the DataDirect Connect Series for ODBC Reference for an explanation of threading.
■
■ If your application was built with 32-bit system libraries, you must use 32-bit drivers. If your application was built with 64-bit system libraries, you must use 64-bit drivers (see “64-Bit Drivers”). The database to which you are connecting can be either 32-bit or 64-bit enabled.
■ The following operating systems are supported for DataDirect Connect for ODBC. All editions are supported unless otherwise noted.
■ The following operating systems are supported for DataDirect Connect XE for ODBC. All editions are supported unless otherwise noted.
■ For the Salesforce driver: A 32-bit Java Virtual Machine (JVM), J2SE 5 or higher, is required. Also, you must set the PATH environment variable to the directory containing your 32-bit JVM’s jvm.dll file, and that directory’s parent directory.
■ An application that is compatible with components that were built using Microsoft Visual Studio 2010 compiler and the standard Win32 threading model.
■ You must have ODBC header files to compile your application. For example, Microsoft Visual Studio includes these files.
■
■ The following operating systems are supported for DataDirect Connect64 for ODBC. All editions are supported unless otherwise noted.
■ The following operating systems are supported for DataDirect Connect64 XE for ODBC. All editions are supported unless otherwise noted.
■ An application that is compatible with components that were built using Microsoft C/C++ Optimizing Compiler Version 14.00.40310.41 and the standard Windows 64 threading model.
■ For the Salesforce driver: A 64-bit JVM, J2SE 5 or higher, is required. Also, you must set the PATH environment variable to the directory containing your 32-bit JVM’s jvm.dll file, and that directory’s parent directory.
■ You must have ODBC header files to compile your application. For example, Microsoft Visual Studio includes these files.The drivers must be configured before they can be used. See Chapter 1 “Quick Start Connect” for information about using the Windows ODBC Administrator. See the individual driver chapters for details about driver configuration.The prefix for all 32-bit driver file names is IV. The prefix for all 64-bit driver file names is DD. The file extension is .DLL, which indicates dynamic link libraries. For example, the 32-bit DB2 Wire Protocol driver file name is IVDB2nn.DLL, where nn is the revision number of the driver.
■
■ If your application was built with 32-bit system libraries, you must use 32-bit drivers. If your application was built with 64-bit system libraries, you must use 64-bit drivers (see “64-Bit Drivers”). The database to which you are connecting can be either 32-bit or 64-bit enabled.
■ For the Salesforce driver: A 32-bit Java Virtual Machine (JVM), J2SE 5 or higher, is required. Also, you must set the library path environment variable of your operating system to the directory containing your JVM’s libjvm.so [sl | a] file and that directory’s parent directory.
■ An application compatible with components that were built using Visual Age C++ 6.0.0.0 and the AIX native threading modelNOTE FOR SALESFORCE USERS: When compiling an application on AIX for use with the driver for Salesforce, you must not use the -brtl option.NOTE FOR TERADATA USERS: When compiling an application on AIX for use with the driver for the Teradata database, you must use the -brtl option. For example:cc -o pgm pgm.o –brtl -lodbc
■ For PA-RISC: An application compatible with components that were built using HP aC++ 3.30 and the HP-UX 11 native (kernel) threading model (posix draft 10 threads)
■ For IPF: An application compatible with components that were built using HP aC++ 5.36 and the HP-UX 11 native (kernel) threading model (posix draft 10 threads)NOTE: All of the standard 32-bit UNIX drivers are supported on HP PA-RISC. For IPF, the following drivers are supported:
■
■
■ An application compatible with components that were built using g++ GNU project C++ Compiler version 3.4.6 and the Linux native pthread threading model (Linuxthreads).
■ For Oracle SPARC: An application compatible with components that were built using Oracle Workshop v. 6 update 2 and the Solaris native (kernel) threading model
■ For x86/x64: An application compatible with components that were built using Oracle C++ 5.8 and the Solaris native (kernel) threading modelNOTE: All of the standard 32-bit UNIX drivers are supported on Solaris SPARC. For x86, the following drivers are supported:
All required network software that is supplied by your database system vendors must be 64-bit compliant.
■ For the Salesforce driver: A 64-bit Java Virtual Machine (JVM), J2SE 5 or higher, is required. Also, you must set the library path environment variable of your operating system to the directory containing your JVM’s libjvm.so [sl | a] file and that directory’s parent directory.
■ AIX 5L operating system, version version 5.3 fixpack 5 and higher, 6.1, and 7.1
■ An application compatible with components that were built using Visual Age C++ version 6.0.0.0 and the AIX native threading modelNOTE FOR SALESFORCE USERS: When compiling an application on AIX for use with the driver for Salesforce, you must not use the -brtl option.
■
■ Greenplum Wire Protocol
■
■ For Itanium II: an application compatible with components that were built using g++ GNU project C++ Compiler version 3.3.2 and the Linux native pthread threading model (Linuxthreads)
■ For x64: an application compatible with components that were built using g++ GNU project C++ Compiler version 3.4 and the Linux native pthread threading model (Linuxthreads)
■ For Oracle SPARC: An application compatible with components that were built using Oracle Workshop v. 6 update 2 and the Solaris native (kernel) threading model
■ For x64: An application compatible with components that were built using Oracle C++ Compiler version 5.8 and the Solaris native (kernel) threading modelNOTE: All of the standard 32-bit UNIX drivers are supported on Solaris SPARC. For x64,The following drivers are supported for Oracle Solaris:
■ Greenplum Wire ProtocolIf you are building 64-bit binaries, you must pass the define ODBC64. Demoodbc provides an example of this. See the installed file demoodbc.txt and “The demoodbc Application” for details.You must also include the correct compiler switches if you are building 64-bit binaries. For example, to build demoodbc, you would use: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 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. Demoodbc provides an example of this. See the installed file demoodbc.txt and “The demoodbc Application” for details. You must also include the +DD64 compiler switch if you are building 64-bit binaries. For example, to build demoodbc, you would use:If you are building 64-bit binaries, you must pass the define ODBC64. Demoodbc provides an example of this. See the installed file demoodbc.txt and “The demoodbc Application” for details.You must also include the correct compiler switches if you are building 64-bit binaries. For example, to build demoodbc, you would use:If you are building 64-bit binaries, you must pass the define ODBC64. Demoodbc provides an example of this. See the installed file demoodbc.txt and “The demoodbc Application” for details.You must also include the -xarch=v9 compiler switch if you are building 64-bit binaries. For example, to build demoodbc, you would use:On UNIX and Linux, several environment variables and the system information file must be configured before the drivers can be used. See Chapter 1 “Quick Start Connect” for a brief description of these variables and information about using the DataDirect ODBC Data Source Administrator for Linux. See the individual driver chapters for details about driver configuration. See Chapter 4 “Configuring the Product on UNIX/Linux” for complete information about using the drivers on UNIX and Linux.The drivers are ODBC API-compliant dynamic link libraries, referred to in UNIX and Linux as shared objects. The prefix for all 32-bit driver file names is iv. The prefix for all 64-bit driver file names is dd. The driver file names are lowercase and the extension is .so, the standard form for a shared object. For example, the 32-bit DB2 Wire Protocol driver file name is ivdb2nn.so, where nn is the revision number of the driver. For drivers on HP-UX PA-RISC only, the extension is .sl, for example, ivdb2nn.sl.