[unixODBC-support] Error while connecting through Postgres driver built on Solaris Sparc 64 bit

Nick Gorham nick.gorham at easysoft.com
Mon Sep 3 09:08:17 BST 2007


Abhishek Srivastava wrote:

>Hi,
>
>I am using unixODBC-2.2.12 driver manager and built a postgres 8.02.0400
>psql odbc driver with 64 bit on Solaris Sparc. When I try connecting to psql
>database on the same machine, I get the following error:
>
>[IM005][unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC
>failed.
>
> 
>
> 
>
>I appreciate any help or pointer on this. 
>  
>

Try using dlopen and see if you can open the driver lib and call the 
SQLAllocHandle entry point.

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org




More information about the unixODBC-support mailing list