[unixODBC-dev] Re: Dynamic vs static linkage

Nick Gorham nick.gorham at easysoft.com
Fri Aug 22 01:13:48 BST 2008

Igor Korot wrote:

>I just looked at the source. The call failing at the line 191 according to the log:
>    if ( environment -> requested_version == 0 )
>What am I missing?
>Thank you.

Is it calling SQLALlocEnv or SQLAllocHandle to allocate the environment 

if its the latter, it needs to call SQLSetEnvAttr to specify ODBC2 or ODBC3

As to why there is a difference between the .a or .so I don't know.


More information about the unixODBC-dev mailing list