[unixODBC-support] Porting Unixodbc
pankaj at rttsindia.com
Fri Jan 12 08:46:59 GMT 2007
Thanks, Nick. Can you tell us what shared object is required to be built for
the driver? I have set up the following entries in the file
; odbc.ini configuration for MyODBC and MyODBC 3.51 Drivers
Description = PostgreSQL Driver for Linux & Win32
Driver = /usr/local/lib/libodbcpsql.a
Password = pankaj
Database = test
OPTION = 3
I tried the same isql command but it gave the same errors.
Please let me know whether this is allright. Also, what entries are required
Also, what shared object is required to be built for the driver?
----- Original Message -----
From: "Nick Gorham" <nick.gorham at easysoft.com>
To: "Support for the unixODBC project" <unixodbc-support at easysoft.com>
Sent: Thursday, January 11, 2007 7:59 AM
Subject: Re: [unixODBC-support] Porting Unixodbc
> Pankaj wrote:
> >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
> >returns an error as:
> >[IM002][unixODBC][Driver Manager]Data source name not found, and no
> >driver specified
> >[ISQL]ERROR: Could not SQLConnect
> >Please let us know how we could solve the above problem.
> Simple answer:
> Set up the entries in odbc.ini, odbcinst.ini correctly.
> Longer answer:
> If you haven't managed to build a shared object for a driver then you
> will get that. The driver needs to be a shared object, you need to fix
> that for your (I assume its yours, as you haven't named it) platform.
> Nick Gorham
> Easysoft Limited
> http://www.easysoft.com, http://www.unixODBC.org
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
More information about the unixODBC-support