[unixODBC-support] isql : [ISQL]ERROR: Could not SQLConnect

Richard McGraw rmcgraw at 9online.fr
Fri Oct 22 17:31:20 BST 2004


On Oct 22 2004, at 18:04, Nick Gorham wrote:

> Richard McGraw wrote:
>
>>
>> On Oct 22 2004, at 17:47, Nick Gorham wrote:
>>
>>> Richard McGraw wrote:
>>>
>>>> Hello,
>>>>
>>>> Can anybody help ?
>>>> I have problem using my unixODBC installation (on OS 10.3),
>>>> namely isql fails to connect to some PostgreSQL 7.4.5 database
>>>> where the psql commandline tool succeeds.
>>>>
>>> What error does isql -v give.
>>>
>>
>> [IM004][unixODBC][Driver Manager]Driver's SQLAllocHandle on 
>> SQL_HANDLE_HENV failed
>> [ISQL]ERROR: Could not SQLConnect
>>
> Check that the ini entry is actually pointing to the odbc driver. That 
> error normally happens when you point the driver line to a shared lib 
> that loads, but isn't a ODBC driver.
>

The driver entry points to /sw/lib/libodbcpsql.so, and the setup entry 
to
/sw/lib/libodbcpsqlS.so
There might remain a Mac peculiarity in the way shared libraries are 
loaded,
i am not knowledgeable about this.
I am going to email the Fink package maintainer.

-- Richard


> -- 
> Nick
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
>




More information about the unixODBC-support mailing list