Wine unixodbc freetds sql unimplemented function SQLDriverConnectA

Questions about Wine on Linux
Locked
Andy2
Newbie
Newbie
Posts: 1
Joined: Thu Sep 19, 2024 4:54 pm

Wine unixodbc freetds sql unimplemented function SQLDriverConnectA

Post by Andy2 »

Hello,
I am trying to run a 32 bit windows program which connects to a SQL server and I am receiving an error in wine

Code: Select all

wine: Call from 7B642447 to unimplemented function odbc32.dll.SQLDriverConnectA, aborting
wine: Unimplemented function odbc32.dll.SQLDriverConnectA called at address 7B642447 (thread 0024), starting debugger...
wine: Call from 7B642447 to unimplemented function odbc32.dll.SQLDriverConnectA, aborting
Ubuntu 22.04
Wine 9.0
freetds v1.3.6
unixODBC 2.3.9

I have configured unixodbc along with freetds with a DSN which I am able to successfully connect using isql -v testdb <user> <password>
I configured wine as 32 bit and installed mdac28 and jet40 using winetricks. Afterwards I set odbc32 to Builtin using winecfg.
Also tried setting the following but I'm not sure if this is correct. Makes no difference.

Code: Select all

export LIB_ODBC_DRIVER_MANAGER=/usr/lib/i386-linux-gnu/libodbc.so
Any idea what the issue could be? Thanks
Locked