Database Networking (MOSC)

MOSC Banner

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center