[Solved] Path of Exile won't launch due to missing dll

A lot of people seem to have a pretty easy time getting Path of Exile working, but it won’t launch at all for me. It doesn’t crash, it completely fails to launch.

This is the output:

INFO     2019-04-05 21:26:08,179 [application.do_command_line:219]:Running Lutris 0.5.1.2
INFO     2019-04-05 21:26:08,179 [startup.check_driver:61]:Using X.Org
INFO     2019-04-05 21:26:08,179 [startup.check_driver:66]:Running Mesa driver 19.0.1 on AMD Radeon (TM) R9 390 Series (HAWAII, DRM 3.27.0, 4.19.32-1-MANJARO, LLVM 8.0.0) (0x67b1)
INFO     2019-04-05 21:26:08,179 [startup.check_driver:76]:GPU: 1002:67B1 174B:E324 using amdgpu drivers
INFO     2019-04-05 21:26:08,215 [startup.check_vulkan:113]:Vulkan is supported
INFO     2019-04-05 21:26:08,216 [dxvk.get_dxvk_versions:24]:Updating DXVK versions
DEBUG    2019-04-05 21:26:08,400 [http.get:68]:GET https://lutris.net/api/runtime
DEBUG    2019-04-05 21:26:09,766 [application.launch:341]:Adding game Path of Exile (wine) (140040686851272) to running games
INFO     2019-04-05 21:26:09,767 [runner.use_runtime:216]:Runtime disabled by system configuration
DEBUG    2019-04-05 21:26:09,772 [game.play:269]:Prelaunching <lutris.runners.wine.wine object at 0x7f5dc3638908>
INFO     2019-04-05 21:26:09,840 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/system32/dxgi with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/system32/d3d11 with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/system32/d3d10core with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/system32/d3d10_1 with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/system32/d3d10 with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/syswow64/dxgi with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/syswow64/d3d11 with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/syswow64/d3d10core with DXVK version
INFO     2019-04-05 21:26:09,841 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/syswow64/d3d10_1 with DXVK version
INFO     2019-04-05 21:26:09,842 [dxvk.enable_dxvk_dll:123]:Replacing /home/kekker/Games/path-of-exile/drive_c/windows/syswow64/d3d10 with DXVK version
DEBUG    2019-04-05 21:26:09,852 [display._get_vidmodes:15]:Retrieving video modes from XrandR
INFO     2019-04-05 21:26:09,866 [runner.use_runtime:216]:Runtime disabled by system configuration
DEBUG    2019-04-05 21:26:09,867 [game.configure_game:305]:Launching Path of Exile: {'env': {'DXVK_HUD': '0', 'WINEDEBUG': '', 'WINEARCH': 'win64', 'WINE': '/home/kekker/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine', 'WINEPREFIX': '/home/kekker/Games/path-of-exile', 'WINEESYNC': '0', 'WINEDLLOVERRIDES': 'xaudio2_7=n,b;d3d10,d3d10_1,d3d10core,d3d11,d3dcompiler_47,dxgi=n'}, 'command': ['/home/kekker/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine', '/home/kekker/Games/path-of-exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe', '--waitforpreload', '--nologo', '--nodx9ex', '--gc2']}
DEBUG    2019-04-05 21:26:09,867 [game.configure_game:306]:Game info: {
  "env": {
    "DXVK_HUD": "0",
    "WINEDEBUG": "",
    "WINEARCH": "win64",
    "WINE": "/home/kekker/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine",
    "WINEPREFIX": "/home/kekker/Games/path-of-exile",
    "WINEESYNC": "0",
    "WINEDLLOVERRIDES": "xaudio2_7=n,b;d3d10,d3d10_1,d3d10core,d3d11,d3dcompiler_47,dxgi=n"
  },
  "command": [
    "/home/kekker/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine",
    "/home/kekker/Games/path-of-exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe",
    "--waitforpreload",
    "--nologo",
    "--nodx9ex",
    "--gc2"
  ]
}
DEBUG    2019-04-05 21:26:10,875 [audio.reset_pulse:12]:PulseAudio restarted
DEBUG    2019-04-05 21:26:10,876 [command.start:105]:Running /usr/bin/lutris-wrapper 0 0 /home/kekker/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine /home/kekker/Games/path-of-exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe --waitforpreload --nologo --nodx9ex --gc2
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: SDL_VIDEO_FULLSCREEN_DISPLAY="off"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: PULSE_LATENCY_MSEC="60"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: DXVK_HUD="0"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: WINEDEBUG=""
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: WINEARCH="win64"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: WINE="/home/kekker/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: WINEPREFIX="/home/kekker/Games/path-of-exile"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: WINEESYNC="0"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: WINEDLLOVERRIDES="xaudio2_7=n,b;d3d10,d3d10_1,d3d10core,d3d11,d3dcompiler_47,dxgi=n"
DEBUG    2019-04-05 21:26:10,876 [command.start:107]:ENV: PYTHONPATH="/usr/bin:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/home/kekker/.local/lib/python3.7/site-packages:/usr/lib/python3.7/site-packages"
DEBUG    2019-04-05 21:26:10,880 [signals.register_handler:26]:Registering <bound method MonitoredCommand.on_stop of <lutris.command.MonitoredCommand object at 0x7f5dc364ca20>> to 16384
Running /home/kekker/.local/share/lutris/runners/wine/tkg-4.0-x86_64/bin/wine /home/kekker/Games/path-of-exile/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe --waitforpreload --nologo --nodx9ex --gc2
000b:fixme:winediag:start_process Wine Staging 4.0 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0009:err:module:load_builtin_dll failed to load .so lib for builtin L"WLDAP32.dll": libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
0009:err:module:import_dll Loading library WLDAP32.dll (which is needed by L"C:\\Program Files (x86)\\Grinding Gear Games\\Path of Exile\\PathOfExile.exe") failed (error c000007a).
0009:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files (x86)\\Grinding Gear Games\\Path of Exile\\PathOfExile.exe" failed, status c0000135
Waiting on children
All children gone
Exit with returncode 53
DEBUG    2019-04-05 21:26:11,664 [command.on_stop:152]:The process has terminated with code 13568
DEBUG    2019-04-05 21:26:11,665 [command.stop:235]:Management process looks dead already.
DEBUG    2019-04-05 21:26:11,665 [command.stop:243]:Detaching logger
DEBUG    2019-04-05 21:26:12,883 [game.beat:581]:Game thread stopped
WARNING  2019-04-05 21:26:12,883 [game.on_game_quit:609]:Game still running (state: running)
INFO     2019-04-05 21:26:12,883 [game.stop:592]:Stopping Path of Exile (wine)
DEBUG    2019-04-05 21:26:12,884 [command.stop:235]:Management process looks dead already.
DEBUG    2019-04-05 21:26:12,884 [command.stop:247]:logger already detached
DEBUG    2019-04-05 21:26:12,904 [game.on_game_quit:624]:Path of Exile stopped at Fri, 05 Apr 2019 21:26:12
DEBUG    2019-04-05 21:26:12,904 [game.save:212]:Saving Path of Exile (wine)
DEBUG    2019-04-05 21:26:12,909 [lutriswindow.on_game_updated:697]:Updating game Path of Exile (wine)
INFO     2019-04-05 21:26:14,334 [application.do_shutdown:441]:Shutting down Lutris

and I believe the main culprit is this section:

0009:err:module:load_builtin_dll failed to load .so lib for builtin L"WLDAP32.dll": libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
0009:err:module:import_dll Loading library WLDAP32.dll (which is needed by L"C:\\Program Files (x86)\\Grinding Gear Games\\Path of Exile\\PathOfExile.exe") failed (error c000007a).
0009:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files (x86)\\Grinding Gear Games\\Path of Exile\\PathOfExile.exe" failed, status c0000135

This issue has been brought up a couple times on the forums (notably here and here) and both times it was dismissed as “Please install Wine”. Well, I have Wine installed, and so did the other Path of Exile guy, so that’s not the issue.

$ pacman -Qs wine
local/dxvk-bin 1.0.2-1
    A Vulkan-based compatibility layer for Direct3D 10/11 which allows running 3D applications on Linux using Wine (Windows DLL binary files)
local/wine 4.5-1
    A compatibility layer for running Windows programs
local/wine-mono 4.8.0-1
    Wine's built-in replacement for Microsoft's .NET Framework
local/wine-nine 0.4-1
    Gallium Nine Standalone
local/wine_gecko 2.47-2
    Wine's built-in replacement for Microsoft's Internet Explorer

Software specs:
Linux version: 4.19.32-1-MANJARO
Distro: Manjaro Linux
Lutris version: lutris-0.5.1.2
Wine version: 4.5-1
dxvk version: 1.0.2-1
Path of Exile build: Stanalone w/ DXVK

Hardware specs:
CPU: AMD Ryzen 2600
GPU: Sapphire R9 390 OC
RAM: 16gb DDR4 3000Mhz

EDIT: Actually just fixed it! All you people googling this issue: You probably have libldap installed, but this issue is lib32-libldap. See if you have that installed.

1 Like

Glad you solved it yourself, please add [SOLVED] to your title.

Just a complementary note: always make sure to install both versions of the libs (32 and 64 bit) for compatibility.

In your case, it’s funny because you should always be launching the 64 bit client of PoE, instead of the 32bit one, so I don’t know what triggered this error.

(sidenote: you WERE going for the 32 bit version, as your log mentions in some line /Grinding Gear Games/Path of Exile/PathOfExile.exe)

This should be addressed in the install script, because the game runs much smoother (and doesn’t crash) on the 64 bit version nowadays.