[Wine] Re: WINE not communicating with unixODBC

Razorwings18 wineforum-user at winehq.org
Tue Apr 20 14:49:48 CDT 2010


UPDATE!

hellork, it seems you were pointed in the right direction. Today I run a $ WINEDEBUG=odbc wine myprogram and got the following output when trying to connect through ODBC.

warn:odbc:ODBC_LoadDriverManager failed to open library "/usr/lib/libodbc.so.1.0.0": /usr/lib/libodbc.so.1.0.0: wrong ELF class: ELFCLASS64

Context:

Code:

err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
trace:odbc:DllMain Initializing or Finalizing proxy ODBC: 0x7db80000,1,(nil)
trace:odbc:DllMain Loading ODBC...
trace:odbc:ODBC_LoadDriverManager 
warn:odbc:ODBC_LoadDriverManager failed to open library "/usr/lib/libodbc.so.1.0.0": /usr/lib/libodbc.so.1.0.0: wrong ELF class: ELFCLASS64
trace:odbc:SQLAllocEnv 
trace:odbc:SQLAllocEnv Not ready
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:create_server class {c8b522cb-5cf3-11ce-ade5-00aa0044773d} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {c8b522cb-5cf3-11ce-ade5-00aa0044773d} could be created for context 0x17
trace:odbc:DllMain Initializing or Finalizing proxy ODBC: 0x7db80000,0,(nil)
trace:odbc:DllMain Unloading ODBC...




I am guessing what that means is that libodbc.so.1.0.0 is 64-bit, but WINE needs it to be 32-bit?

At least now I know what the problem is, but I don't know where to go from here. Any ideas? Has anyone successfully used WINE+unixODBC in an AMD64 system?







More information about the wine-users mailing list