Load Sybase driver in UnixODBC (macOS)
Hi there !
Would it be possible to load a Sybase driver (like libdbodbc16.so or the bundle one) with unixodbc on MacOS ?
I've already tried but the driver won't load or it crashes.
At the moment I'm using FreeTDS but I would prefer using the official Sybase one (better compatibility).
Thanks 👍
Edit: Is there a way not to use the UnixODBC on macOS and use the one installed on the machine directly (like on Windows) ?
I haven't played around with ODBC on mac, but I believe the native Mac driver manager uses iODBC. I'm not sure but the Sybase one might target either unixODBC or iODBC, which I believe have slightly different interfaces. This package targets unixODBC because it is mostly interoperable with the native Windows ODBC Driver Manager, and most Mac users can download and use unixODBC instead of iODBC.
The instructions at the bottom of this page might help, you can try to target unixODBC when you build it and see if that helps:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc20116.1550/html/aseodbc/aseodbc6.htm