Skip to content
Discussion options

You must be logged in to vote

Confirmed on apache/airflow:latest (3.3.0, Debian bookworm): libtdsodbc.so genuinely isn't in the image, you didn't just miss it. A find / -name 'libtdsodbc*' returns nothing, and dpkg shows freetds-bin, freetds-common, unixodbc and even msodbcsql18, but no tdsodbc. odbcinst -q -d only lists "ODBC Driver 18 for SQL Server".

The catch is that on Debian the FreeTDS ODBC driver lives in a separate tdsodbc package, not in freetds-bin, so freetds-bin gives you tsql/libct but not the .so you register. I ran apt install tdsodbc in the image and it drops /usr/lib/<arch>/odbc/libtdsodbc.so, owned by tdsodbc. The Dockerfile's RUNTIME_APT_DEPS lines this up: freetds-bin + unixodbc are listed, tdsodb…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by epicshepich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants