Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load Sybase driver in UnixODBC (macOS) #72

Open
qlecler opened this issue Jun 18, 2019 · 2 comments
Open

Load Sybase driver in UnixODBC (macOS) #72

qlecler opened this issue Jun 18, 2019 · 2 comments

Comments

@qlecler
Copy link

qlecler commented Jun 18, 2019

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) ?

@qlecler qlecler changed the title Load custom driver in unixodbc (macOS) Load Sybase driver in unixodbc (macOS) Jun 18, 2019
@qlecler qlecler changed the title Load Sybase driver in unixodbc (macOS) Load Sybase driver in UnixODBC (macOS) Jun 18, 2019
@markdirish
Copy link
Collaborator

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.

@markdirish
Copy link
Collaborator

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

clach04 pushed a commit to clach04/node-odbc__DO_NOT_USE that referenced this issue Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants