Need help with DLLs

Questions about Wine on Linux
Locked
Unifying Theory
Level 2
Level 2
Posts: 10
Joined: Tue Dec 24, 2019 2:56 am

Need help with DLLs

Post by Unifying Theory »

Any ideas where to go with this?

Code: Select all

$ wine .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/LeapFrogConnect2.exe 
0030:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 00DEFF00
0009:err:module:import_dll Library icuin53.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0009:err:module:import_dll Library icuuc53.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0009:err:module:import_dll Library Qt5Core.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5Network.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5Widgets.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5Gui.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebEngineWidgets.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebEngineCore.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebSockets.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebChannel.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe" failed, status c0000135

$ wine .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/LFLauncher.exe 
0030:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 00DEFF00
0009:err:module:import_dll Library icuin53.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0009:err:module:import_dll Library icuuc53.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0009:err:module:import_dll Library Qt5Core.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LFLauncher.exe") not found
0009:err:module:import_dll Library Qt5Widgets.dll (which is needed by L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LFLauncher.exe") not found
0009:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\adam\\.wine\\drive_c\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LFLauncher.exe" failed, status c0000135

$ wine --version 
wine-5.0-rc6
The program does contain all of these dlls in a folder:

Code: Select all

$ ls .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/Qt5.10.1/
icudt53.dll  libEGL.dll     Qt5Core.dll     Qt5Positioning.dll   Qt5Quick.dll         Qt5Sql.dll         Qt5WebEngineCore.dll     Qt5Widgets.dll          translations
icuin53.dll  libGLESv2.dll  Qt5Gui.dll      Qt5PrintSupport.dll  Qt5QuickWidgets.dll  Qt5Svg.dll         Qt5WebEngineWidgets.dll  QtWebEngineProcess.exe
icuuc53.dll  plugins        Qt5Network.dll  Qt5Qml.dll           Qt5SerialPort.dll    Qt5WebChannel.dll  Qt5WebSockets.dll        resources
It's a fresh installation of wine. The same problems occurs on 4.0.3.

Thanks in advance.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Need help with DLLs

Post by jkfloris »

Does it make any difference if you start the program in one of the following ways?

Code: Select all

cd .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/
wine LeapFrogConnect2.exe

# or:

wine start /unix .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/LeapFrogConnect2.exe
Unifying Theory
Level 2
Level 2
Posts: 10
Joined: Tue Dec 24, 2019 2:56 am

Re: Need help with DLLs

Post by Unifying Theory »

Changing the directory didn't make any difference.

Code: Select all

~/.wine/drive_c/Program Files (x86)/LeapFrog/LeapFrog Connect2$ wine LeapFrogConnect2.exe 
0031:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 00DEFF00
0009:err:module:import_dll Library icuin53.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0009:err:module:import_dll Library icuuc53.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0009:err:module:import_dll Library Qt5Core.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5Network.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5Widgets.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5Gui.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebEngineWidgets.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebEngineCore.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebSockets.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:import_dll Library Qt5WebChannel.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0009:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe" failed, status c0000135
The /unix command looks the same as well.

Code: Select all

$ wine start /unix .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/LeapFrogConnect2.exe
0030:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 00DEFF00
0034:err:module:import_dll Library icuin53.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0034:err:module:import_dll Library icuuc53.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\Qt5Core.dll") not found
0034:err:module:import_dll Library Qt5Core.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:import_dll Library Qt5Network.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:import_dll Library Qt5Widgets.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:import_dll Library Qt5Gui.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:import_dll Library Qt5WebEngineWidgets.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:import_dll Library Qt5WebEngineCore.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:import_dll Library Qt5WebSockets.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:import_dll Library Qt5WebChannel.dll (which is needed by L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe") not found
0034:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files (x86)\\LeapFrog\\LeapFrog Connect2\\LeapFrogConnect2.exe" failed, status c0000135
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: Need help with DLLs

Post by Cybermax »

Code: Select all

ls .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/Qt5.10.1/
So, does all these .DLL's reside in the "QT5.10.1" folder then? Cos i do not think there is any automagic thing happening that would understand where to find those .DLL's when it is not in either system folder or .exe folder.

You could try to copy those .DLL's to the same folder the .exe is. (Or create symlinks).
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Need help with DLLs

Post by jkfloris »

Not that I really get the program up and running, but at least you get a step further with:

Code: Select all

cd .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/Qt5.10.1
wine ../LeapFrogConnect2.exe
Unifying Theory
Level 2
Level 2
Posts: 10
Joined: Tue Dec 24, 2019 2:56 am

Re: Need help with DLLs

Post by Unifying Theory »

jkfloris wrote: Wed Jan 22, 2020 4:12 pm Not that I really get the program up and running, but at least you get a step further with:

Code: Select all

cd .wine/drive_c/Program\ Files\ \(x86\)/LeapFrog/LeapFrog\ Connect2/Qt5.10.1
wine ../LeapFrogConnect2.exe
Well, that fixed the DLL problem. Definite progress!

Code: Select all

~/.wine/drive_c/Program Files (x86)/LeapFrog/LeapFrog Connect2/Qt5.10.1$ wine ../LeapFrogConnect2.exe 
0030:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 00DEFF00
0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0009:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2008 WGL Attribute
0009:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0009:fixme:toolhelp:Heap32ListFirst : stub
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x20070, filter=0x32fd14,flags=0x00000004) returns a fake device notification handle!
     loading URLs - setting up
Crit ShellCmd   -- [core.cpp:141 @CoreInternal::getInstalledLocale] Request install local (cheat): en_US
     URLs       -- [urls.cpp:93 @URLs::parseURLs] parsing :/URLs.json
     loading URLs - starting
     DLManager  -- [dmengine.cpp:439 @DMEngine::onAddToQ] Running HEAD request on: https://lfcdownload.leapfrog.com/en/LFBwe_URLs.json
     DLManager  -- [dmengine.cpp:749 @DMEngine::onHeadFinished] HEAD Req on https://lfcdownload.leapfrog.com/en/LFBwe_URLs.json (ETAG: 14e278ad2fab14a380f87ef0ad87ae9f:1564510205, size: 759
     DLManager  -- [dmengine.cpp:344 @DMEngine::startDownload] startDownload https://lfcdownload.leapfrog.com/en/LFBwe_URLs.json to C:/users/adam/Temp/LeapFrog/9/URLs.json
     URLs       -- [urls.cpp:93 @URLs::parseURLs] parsing C:/users/adam/Temp/LeapFrog/9/URLs.json
     loading URLs - finished
0009:fixme:process:SetProcessDEPPolicy (3): stub
0009:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x181a3d0, 0x3bbe668, 0x3bbe668) stub.
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32cdfc, (nil) 0x32ce00
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32cdfc (nil) 0x32ce00) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32cdfc, 0x485ab30 0x32ce00
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32cdfc 0x485ab30 0x32ce00) returning a dummy value (current locale)
0009:fixme:winsock:WSALookupServiceBeginW (0x32cb04 0x00000ff0 0x32cb44) Stub!
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032C8A0 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032C658 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032C3E0 1 C) semi-stub
[8:9:0123/001835.323:ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8
0009:fixme:iphlpapi:NotifyAddrChange (Handle 0x32cc70, overlapped 0x485b504): stub
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x1008c, filter=0x32ccb8,flags=0x00000000) returns a fake device notification handle!
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x1008c, filter=0x32ccb8,flags=0x00000000) returns a fake device notification handle!
0009:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
0009:fixme:font:get_nearest_charset TCI failing on 20000000
0009:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"/usr/share/fonts/truetype/fonts-gujr-extra/aakar-medium.ttf"
004b:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 0804F638) semi-stub
0049:fixme:process:CreateProcessInternalW Unsupported attribute 0x20002.
004b:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 0804F6F4) semi-stub
0055:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0055:fixme:process:SetProcessDEPPolicy (3): stub
0055:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0055:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x10bca3d0, 0x12f6e668, 0x12f6e668) stub.
     Browser    -- [browserpage.cpp:32 @BrowserPage::setUrl] https://lfccontent2.leapfrog.com/lfb_we/index.html?webChannelPort=36657
0009:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2008 WGL Attribute
0009:fixme:dwmapi:DwmIsCompositionEnabled 0032C9A0
0009:fixme:dwmapi:DwmEnableBlurBehindWindow 000100B0 0032C9A4
0009:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2008 WGL Attribute
0009:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2008 WGL Attribute
0055:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FA94 1 C) semi-stub
0055:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F84C 1 C) semi-stub
0055:fixme:gdi:GdiInitializeLanguagePack stub
0055:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
     BrowserPage::acceptNavigationRequest():  "https://lfccontent2.leapfrog.com/lfb_we/index.html?webChannelPort=36657"
     JsComm::onClientDisconnected(): blocking responses
0042:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0009:fixme:shell:SHGetStockIconInfo (78, 0x101, 0x32ca94) semi-stub
0009:fixme:shell:SHGetStockIconInfo flags 0x101 not implemented
Crit QPixmap::fromWinHICON(), failed to GetIconInfo() (Invalid cursor handle.)
0009:fixme:shell:SHGetStockIconInfo (78, 0x100, 0x32ca94) semi-stub
0009:fixme:shell:SHGetStockIconInfo flags 0x100 not implemented
Crit QPixmap::fromWinHICON(), failed to GetIconInfo() (Invalid cursor handle.)
0009:fixme:shell:SHGetStockIconInfo (78, 0x101, 0x32ca18) semi-stub
0009:fixme:shell:SHGetStockIconInfo flags 0x101 not implemented
Crit QPixmap::fromWinHICON(), failed to GetIconInfo() (Invalid cursor handle.)
     WebSocketClientWrapper::handleNewConnection(): emitting clientConnected()
     constructing WebSocketTransport
     JsComm::onClientConnected(): unblocking responses
Crit ShellCmd   -- [core.cpp:141 @CoreInternal::getInstalledLocale] Request install local (cheat): en_US
     Browser    -- [browserpage.cpp:47 @BrowserPage::javaScriptConsoleMessage] JS: https://lfccontent2.leapfrog.com/lfb_we/js/main.js [line 1] - Uncaught (in promise) TypeError: Cannot read property 'substr' of undefined
 
A blank white window pops up.
Closing the window outputs a little more on the terminal:

Code: Select all

Crit ShellCmd   -- [core.cpp:141 @CoreInternal::getInstalledLocale] Request install local (cheat): en_US
0009:fixme:dwmapi:DwmEnableBlurBehindWindow 000200B0 0032FA94
0009:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
0009:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
0009:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x485b504): stub
0009:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0009:fixme:font:RemoveFontMemResourceEx (0x827e22b1) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4e173c4) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4f4140c) stub
If you can think of anything else to try that might get this working, I'll be very grateful.

By the way this app is available for free at https://lfcdownload.leapfrog.com/lfb/en ... pStart.exe
It's used to add "books" onto an electronic book reader learning device for kids. Might just end up buying a copy of win7 to use it. :(
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Need help with DLLs

Post by DarkShadow44 »

FWIW, the issue with the "Dll not found" is this bug: https://bugs.winehq.org/show_bug.cgi?id=18172
Locked