IBM Support

Checking ODBC driver 32- or 64-bit (4.x and later)

Question & Answer


Question

On Linux systems, how do you check if the ODBC driver is 64-bit or 32-bit? 

Answer

On Linux systems, the 64-bit ODBC driver will typically be created in a folder named <main_driver_path>/lib64/.

If you are using an ODBC driver version of 4.x.x or greater, you can check the bit support as follows:

1. Change to the driver directory. By default, this location is /usr/local/nz/lib.

2. Run the following command:

    strings libnzodbc.so | grep -i Make

The resulting output will be similar to one of the following:
    Make = 64-bit Real Mode (sizeof(SQLLEN)=8)
    Make = 32-bit

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ663997

Document Information

Modified date:
17 October 2019

UID

swg21574867