wget binary included in Lutris does not run on Arch

Description:

The wget bundled with Lutris does not work on Arch:

.local/share/lutris/runtime/network-tools $ ./wget --help

./wget: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

When installing something that requires wget, the installation will fail. Searching online, this appears to be a strange thing that Debian does which causes the application to fail to dynamically link on Arch. I replaced the wget in this path with a symlink to /usr/bin/wget and my install succeeded (in this case mod-organizer-2 )

Outside of statically linking wget, I'm not sure there's a good way for Lutris to fix this upstream, which is why I am reporting it as an arch packaging bug. Let me know if this is incorrect.

Additional info:

  • package version(s): lutris-0.5.17
  • config and/or log files: N/A
  • link to upstream bug report, if any: N/A

Steps to reproduce:

  1. Run .local/share/lutris/runtime/network-tools/wget --help

This is the full procedure I was using when I found the bug, but is not necessary to reproduce:

  1. Install Lutris with pacman
  2. Allow lutris to manage web links
  3. Install Steam and one of the games that mod organizer 2 manages (in my case, Fallout New Vegas)
  4. Run the target game once
  5. Go to the mod-organizer-2 page and click the install link for version 2.2.2.1
  6. Select the game you want to manage and continue the install
  7. While trying to download the needed Wine packages, the installer will fail with a wget error.

In my opinion, this should work out of the box in the arch install without replacing the wget executable.

Edited by Kevin