[unixODBC-support] Porting Unixodbc

Pankaj pankaj at rttsindia.com
Thu Jan 11 15:28:26 GMT 2007

Thanks a lot, Nick.

I tried the command as follows:

isql -v Mydsn pankaj 123

where, Mydsn is the dsn name, username is pankaj and password is 123. But it
returns an error as:

[IM002][unixODBC][Driver Manager]Data source name not found, and no default
driver specified

[ISQL]ERROR: Could not SQLConnect

Please let us know how we could solve the above problem.


----- Original Message ----- 
From: "Nick Gorham" <nick.gorham at easysoft.com>
To: "Support for the unixODBC project" <unixodbc-support at easysoft.com>
Sent: Wednesday, January 10, 2007 11:50 PM
Subject: Re: [unixODBC-support] Porting Unixodbc

> Pankaj wrote:
> >Hi Nick,
> >
> >The Postgresql driver with UnixODBC has been generated as a static
> >as: "libodbcpsql.a". But in the template file to be used with odbcinst
> >command, it requires an .so file.
> >
> >
> Ok, libtool has decide to build a static not shared lib. you need to
> check how libtool supports your "unix like" os.
> >Do we have to enable the shared libraries at the time of configuration of
> >UnixODBC? Also, is this the way we could test the ODBC driver without
> >
> >odbcinst -i -f postgres.template
> >
> >
> >
> No, that just adds the template to the ini file, you can use
> isql -v dsn user pass
> to test it.
> -- 
> 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