flathub / net.lutris.Lutris

https://flathub.org/apps/details/net.lutris.Lutris
123 stars 24 forks source link

Problem with wget in Install Scripts #264

Open NightHammer1000 opened 2 years ago

NightHammer1000 commented 2 years ago

Describe the problem When installing Vampires The Masquerade - Bloodlines the Installer stops because it can not download the Files needed for the Inofficial Patch. Log writes the following:

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

Is it reproducible with native Lutris?

Steps to reproduce

  1. Try to Download Vampire: The Masquerade - Bloodlines
Lordakius commented 2 years ago

can confirm this issue on arch.

according to https://bbs.archlinux.org/viewtopic.php?id=233255, this happens because libpcre.so.3 is the debian version of this package.

Lordakius commented 2 years ago

well, it works when you create a symlink for the file

ln -s /usr/lib/libpcre.so.1 /usr/lib/libpcre.so.3

NightHammer1000 commented 2 years ago

Can confim the workaround. Works that way!

Lordakius commented 2 years ago

nice.

I was thinking about this some more and I have actually no clue why this even happens. I would have expected that the script uses the system wget, and at least my installed version confirms that (e.g. 'which wget' in a wine-prefix shell returns /usr/bin/wget).

And I am not using the flatpak, so this also happens on native. I would open an issue there too, but honestly I am not sure if this is actually a lutris problem. A (tbf short) look through the files didn't yield any useful results about the library, so I am not even sure where this comes from.