The forum

Problem with dbghelp.dll.so and libz.1.dylib

Author Replies
magicus Sunday 3 November 2019 at 23:44
magicus

I'm trying to make a manual installation (of Mine-Imator). For that, I was instructed by guides to install directx9. However, this fails, seemingly due to this:

0009:err:module:load_builtin_dll failed to load .so lib for builtin L"dbghelp.dll": dlopen(/Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/wine/dbghelp.dll.so, 258): Library not loaded: @loader_path/libz.1.dylib

 

I'm wondering if my installation of PlayOnMac is broken. I initially installed it using homebrew, but when this happened I removed it, and all data in ~/Library/PlayOnMac, and re-installed it manually from the version available for download from the website. Still no luck, though -- same thing happens.

I do have a /Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/libz.1.dylib (symlink to libz.1.2.11.dylib -- existing -- in the same dir).

 

Here's a longer snippet from the log file:



[11/03/19 23:23:10] - ----- Starting function POL_Install_directx9 -----
[11/03/19 23:23:10] - Running wine- regedit /Users/ihse/Library/PlayOnMac//tmp/regkey.reg (Working directory : /Users/ihse/Library/PlayOnMac/ressources)
[11/03/19 23:23:10] - Content of /Users/ihse/Library/PlayOnMac//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine]
"Version"="winxp"
-----------
000b:fixme:winediag:start_process Wine Staging 4.0-rc4 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
dbus[36680]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
[11/03/19 23:23:13] - Running wine- directx_feb2010_redist.exe /t:C:\windows\temp\directx9 /q (Working directory : /Users/ihse/Library/PlayOnMac/ressources)
0030:fixme:advapi:DecryptFileA ("C:\\windows\\temp\\directx9\\", 00000000): stub
[11/03/19 23:23:17] - Running wine- regedit /Users/ihse/Library/PlayOnMac//tmp/override-dll.reg (Working directory : /Users/ihse/Library/PlayOnMac/ressources)
[11/03/19 23:23:17] - Content of /Users/ihse/Library/PlayOnMac//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*d3dim"="native"
"*d3drm"="native"
"*d3dx8"="native"
"*d3dx9_24"="native"
"*d3dx9_25"="native"
"*d3dx9_26"="native"
"*d3dx9_27"="native"
"*d3dx9_28"="native"
"*d3dx9_29"="native"
"*d3dx9_30"="native"
"*d3dx9_31"="native"
"*d3dx9_32"="native"
"*d3dx9_33"="native"
"*d3dx9_34"="native"
"*d3dx9_35"="native"
"*d3dx9_36"="native"
"*d3dx9_37"="native"
"*d3dx9_38"="native"
"*d3dx9_39"="native"
"*d3dx9_40"="native"
"*d3dx9_41"="native"
"*d3dx9_42"="native"
"*d3dx9_43"="native"
"*d3dxof"="native"
"*dciman32"="native"
"*ddrawex"="native"
"*devenum"="native"
"*dmband"="native"
"*dmcompos"="native"
"*dmime"="native"
"*dmloader"="native"
"*dmscript"="native"
"*dmstyle"="native"
"*dmsynth"="native"
"*dmusic"="native"
"*dmusic32"="native"
"*dnsapi"="native"
"*dplay"="native"
"*dplayx"="native"
"*dpnaddr"="native"
"*dpnet"="native"
"*dpnhpast"="native"
"*dpnlobby"="native"
"*dswave"="native"
"*dxdiagn"="native"
"*msdmo"="native"
"*qcap"="native"
"*quartz"="native"
"*streamci"="native"
"*dxdiag.exe"="native"
-----------
[11/03/19 23:23:18] - Running wine- regedit /Users/ihse/Library/PlayOnMac//tmp/override-dll.reg (Working directory : /Users/ihse/Library/PlayOnMac/ressources)
[11/03/19 23:23:18] - Content of /Users/ihse/Library/PlayOnMac//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*d3d8"="builtin"
"*d3d9"="builtin"
"*dinput"="builtin"
"*dinput8"="builtin"
"*dsound"="builtin"
-----------
[11/03/19 23:23:18] - Running wine- C:\windows\temp\directx9\DXSETUP.exe /silent (Working directory : /Users/ihse/Library/PlayOnMac/ressources)
0038:fixme:sfc:SRSetRestorePointA 0x33fb10 0x5b9624
0038:err:module:load_builtin_dll failed to load .so lib for builtin L"dbghelp.dll": dlopen(/Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/wine/dbghelp.dll.so, 258): Library not loaded: @loader_path/libz.1.dylib
  Referenced from: /Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/wine/dbghelp.dll.so
  Reason: imag
0038:err:module:import_dll Loading library dbghelp.dll (which is needed by L"C:\\windows\\system32\\mscoree.dll") failed (error c000007a).
0038:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0038:err:module:load_builtin_dll failed to load .so lib for builtin L"cabinet.dll": dlopen(/Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/wine/cabinet.dll.so, 258): Library not loaded: @loader_path/libz.1.dylib
  Referenced from: /Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/wine/cabinet.dll.so
  Reason: imag
0038:err:setupapi:LoadCABINETDll load cabinet dll failed.
[11/03/19 23:24:41] - ----- Ending function POL_Install_directx9 -----

Any help in resolving this is appreciated!

 

magicus Sunday 3 November 2019 at 23:49
magicus

I am on Mojave btw.

I checked the start of the log file. It seems like this issue was present even at the very beginning when I ran the installer... Or maybe this is not the real error but just a red herring?

[11/03/19 23:16:26] - Running wine- --version (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
wine-4.0-rc4 (Staging)

PlayOnMac logfile
-------------------
Date: 11/03/19 23:16:26

> PlayOnMac Version
  4.3.4
> uname -a
  Darwin mercurius.ihse.net 18.7.0 Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 x86_64
> lsb_release -a
  
> wine --version
  wine-4.0-rc4 (Staging)
> POL_WINEVERSION
  
> WINEPREFIX
  /Users/ihse/Library/PlayOnMac//wineprefix/MineImator
> Distribution
   10.14.7 (18.7.0)
> glxinfo \| grep rendering
  
> glxinfo \| grep renderer
  
> OpenGL libs (Direct rendering testing)
  
  

[11/03/19 23:16:27] - This is a 32bits prefix!
[11/03/19 23:16:29] - Running wine- cmd /c echo %ProgramFiles% (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
000b:fixme:winediag:start_process Wine Staging 4.0-rc4 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
dbus[34322]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
000b:err:module:load_builtin_dll failed to load .so lib for builtin L"wininet.dll": dlopen(/Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/wine/wininet.dll.so, 258): Library not loaded: @loader_path/libz.1.dylib
  Referenced from: /Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/wine/wininet.dll.so
  Reason: imag

 

magicus Monday 4 November 2019 at 0:20
magicus

POM appearantly picked up a very old System wine (wine-4.0-rc4 (Staging)). I installed a newer wine and I managed to get further. Still having problems running Mine-Imator, but at this point I don't think it's a problem with POM per se.

Dadu042 Monday 4 November 2019 at 11:26
Dadu042
Moderator

I just can see that 'wininet' was wanted.

 

Note: I try to add common issues to the Wiki: http://wiki.playonlinux.com/index.php/Troubleshooting_Common_Problems  (anyone can help).

Useful too: http://wiki.playonlinux.com/index.php/Main_Page#Troubleshooting

Edited by Dadu042