The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: batteryshelter on October 12, 2020, 05:27:28 PM

Title: [122, ubuntu 18.04, steam, flathub] Crashing due to missing libminiupnpc library
Post by: batteryshelter on October 12, 2020, 05:27:28 PM
The game crashes after selecting "Play" in the "Steam preloader".
By running steam from the command line:
  flatpak run com.valvesoftware.Steam/x86_64/stable
and starting the game I get the following error:
  ./simutrans: error while loading shared libraries: libminiupnpc.so.17: cannot open shared object file: No such file or directory

I found that library in the libs sub-directory (~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Simutrans/libs) and by copying it to the Simutrans directory the game starts.
If other people have this problem perhaps a change in the steam version is needed.
Title: Re: [122, ubuntu 18.04, steam, flathub] Crashing due to missing libminiupnpc library
Post by: Roboron on October 12, 2020, 06:48:12 PM
I am very sorry, I mistakenly set the rpath to current directory instead of libs

I have uploaded a new version with fixed rpath, and I have also taken actions to prevent this from happening again. Thank you for reporting.
Title: Re: [122, ubuntu 18.04, steam, flathub] Crashing due to missing libminiupnpc library
Post by: batteryshelter on October 12, 2020, 06:59:14 PM
Thank you for the fix and for you maintaining a steam version  :)