https://bugs.winehq.org/show_bug.cgi?id=51821
--- Comment #1 from algebro@tuta.io --- Created attachment 70705 --> https://bugs.winehq.org/attachment.cgi?id=70705 LoadLibraryTest
This POC reproduces the behavior accurately I believe. It attempts to load the library with a relative path and dwFlags 8. On Windows, it loads successfully if ran from a parent directory:
bin64\LoadLibraryTest.exe Full path name: C:\EVE\SharedCache\sisi\launchdarkly_client.pyd Attempting to load launchdarkly_client.pyd Module loaded successfully
On Linux with Wine 6.16, it fails:
wine ./bin64/LoadLibraryTest.exe Full path name: C:\EVE\SharedCache\sisi\launchdarkly_client.pyd Attempting to load launchdarkly_client.pyd Module failed to load
I can't share the actual module due to copyright/drm issues, but you should be able to test it with any shared library I imagine.