[unixODBC-support] SQLConnect and odbc.ini

Martin J. Evans martin.evans at easysoft.com
Tue May 3 15:35:12 BST 2005


On 03-May-2005 Eric Sharkey wrote:
>> 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.

odbcinst -j outputs this.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development




More information about the unixODBC-support mailing list