[unixODBC-support] SQLConnect and odbc.ini

Eric Sharkey sharkey at netrics.com
Tue May 3 15:32:35 BST 2005

> Thanks for your quick response. Because the driver I built always core 
> dumped when SQLConnect was called ( and I couldn't figure out why ), I 
> have been using an already compiled binary. For sure, it wasn't 
> configured to read the same ini file as the unixODBC library I built. So 
> that explains it. I'll try again to compile the driver myself to see if 
> I'll get lucky this time :)

If you want to know what ini files your already compiled driver is
trying to use, you can try to connect with isql running under strace
and look for attempts to open odbc.ini and odbcinst.ini and you should
be able to see what directories it's searching.


More information about the unixODBC-support mailing list