[Bug 259926] emulators/wine: failed to load .so lib "/root/.i386-wine-pkg/usr/local/lib/wine/openal32.dll.so"

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Nov 2021 22:33:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259926

            Bug ID: 259926
           Summary: emulators/wine: failed to load .so lib
                    "/root/.i386-wine-pkg/usr/local/lib/wine/openal32.dll.
                    so"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald@FreeBSD.org
          Reporter: nc@FreeBSD.org
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)

With i386-wine(-devel) going away, when I attempt to log into Toontown
Rewritten (http://www.toontownrewritten.com/), I get this error when the game
attempts to start:

0114:err:module:open_builtin_file failed to load .so lib
"/root/.i386-wine-pkg/usr/local/lib/wine/openal32.dll.so"
0114:err:module:import_dll Loading library OpenAL32.dll (which is needed by
L"C:\\Program Files (x86)\\Toontown Rewritten\\TTREngine.exe") failed (error
c000007a).
0114:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files
(x86)\\Toontown Rewritten\\TTREngine.exe" failed, status c0000135

Note: I had to run Wine as root since TTR's "launcher" would not work without
Wine-as-root. This is insecure and a bad practice, but TTR's developers aren't
exactly the best-in-class.

You can disable the root check for 32-bit wine /usr/local/share/wine/pkg32.sh.

This is on a 64-bit system.

-- 
You are receiving this mail because:
You are the assignee for the bug.