I am trying to execute some pilot project in Lubuntu 18.04.
I have installed UnixODBC along with MultiLib. Through Wine I have installed DB2 ODBC_CLI driver (but do not know how to verify its successfull installation).
Next I updated the /etc/odbcinst.ini as following
[IBM DB2 ODBC DRIVER - D_ByVM_clidriver (32 bit)]
Driver=/media/sf_ByVM/Bin/clidriver/db2cli.dll
Setup=/media/sf_ByVM/Bin/clidriver/\db2odbc.dll
32Bit=1
[ODBC 32 bit Drivers]
IBM DB2 ODBC DRIVER - D_ByVM_clidriver (32 bit)=Installed
Now whenever I try to execute my windows application through Wine, it always complains that the file mentioned in second line "dbcli.dll" not found ..... I have tried different folders (including current executable folder, program files (x86), /tmp folder , /etc folder) I also tried both forward as well as backslashes....... I also tried escaped slashes (\\) .... but irrespective of whatever or howsoever way I define the file path .... it always complains about that missing dll
Please advise.
Thanks for your time in reviewing this question and valuable help in advance.
Win Application in Wine fails because dll file specified in odbcinst.ini not found
Re: Win Application in Wine fails because dll file specified in odbcinst.ini not found
Hi, I am not familiar with this specific application, but it seems strange to me that you are storing the .dll file in a location that seems to be outside the Wine prefix you are using. If the Windows application needs that DLL (which it seems to), I would copy the .dll file into the application's installation folder within the Wine prefix and make sure you have the correct overrides set up in winecfg.
The way you are trying to do it, I would think you would need to map that /media/sf_ByVM/ location to a drive letter in winecfg and then tell Wine to include that location in the DLL search path, otherwise it isn't going to find it.
The way you are trying to do it, I would think you would need to map that /media/sf_ByVM/ location to a drive letter in winecfg and then tell Wine to include that location in the DLL search path, otherwise it isn't going to find it.