Oracle 19.21. Error loading ODBC library symbol
We have configured an ODBC Connection from Oracle Linux to SQL Server using Microsoft ODBC Driver 17 for SQL Server
Connection using isql of sqlcmd is fine, but whenever we create a dblink to SQL Server we get the following error:
Failed to load ODBC library symbol: /usr/lib64/libmsodbcsql-17.so(SQLColAttribute)
tnsping also returns Ok. I am unable to find the misconfiguration.
Here are my configuration files.
odbc.ini
[ODBC Data Sources]
SV042_ADMON=Microsoft ODBC Driver 17 for SQL Server
[SV042_ADMON]
Driver=/usr/lib64/libmsodbcsql-17.so
Description==Microsoft ODBC Driver 17 for SQL Server
Server=SERVERNAME
Encrypt=Optional/No
Port=PORTNUMBER