[unixODBC-support] Porting Unixodbc

Nick Gorham nick.gorham at easysoft.com
Thu Jan 11 07:50:11 GMT 2007


Pankaj wrote:

>Hi Nick,
>
>The Postgresql driver with UnixODBC has been generated as a static library
>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 GUI?
>
>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



More information about the unixODBC-support mailing list