Adaptive Server Enterprise ODBC Driver for Linux x86-64 64-bit and Linux on POWER 64-bit now supports a 4-bytes SQLLEN datatype and an 8-bytes SQLLEN datatype.
Red Hat and SUSE provide the unixODBC Driver Manager as their driver manager. Versions of the unixODBC Driver Manager prior to 2.2.13 expect to use a 4-bytes SQLLEN datatype. The default configuration of the unixODBC Driver Manager in versions 2.2.13 and later, such as that provided by Red Hat Enterprise Linux 6 and later, expect an 8-bytes SQLLEN datatype. Accordingly, the Adaptive Server Enterprise ODBC Driver provides two versions of the driver. Please check the unixODBC Driver Manager version used by your 64-bit Linux system.
Starting with ESD #4, there are two driver shared library files and a soft link in the DataAccess64/ODBC/lib/ directory:
The libsybdrvodb-sqllen4.so - equivalent to the original libsybdrvodb.so file that supports a 4-bytes SQLLEN datatype
The libsybdrvodb-sqllen8.so file - new version of the libsybdrvodb.so file that supports an 8-bytes SQLLEN datatype
The libsybdrvodb.so soft link that points to the original driver shared library file, now named libsybdrvodb-sqllen4.so
There is no change when you want to continue using the 4-bytes SQLLEN datatype.
To use the 8-bytes SQLLEN datatype, modify the soft link to point to the libsybdrvodb-sqllen8.so file:
> cd DataAccess64/ODBC/lib > rm libsybdrvodb.so > ln -s libsybdrvodb-sqllen8.so libsybdrvodb.so