https://bugs.winehq.org/show_bug.cgi?id=43530
--- Comment #36 from coreyoconnor@gmail.com --- On NixOS the solution was to compile wine with the LD flag "-z now". Per documentation this results in: "When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called."
* https://linux.die.net/man/1/ld * https://github.com/NixOS/nixpkgs/issues/31989