Posted December 11, 2019
The game (Build 27365 Linux 64-bit) fails to start on Linux Mint 19.2 with following error:
./TransportFever2: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Unfortunately Mint 19.2 comes only with libpng16 and older versions aren't available in the repo.
As a quick workaround for anyone experiencing the same problem the library can be found in the Steam client, in My case it's localized in ~/.steam/bin32/steam-runtime/lib/x86_64-linux-gnu, so you can link it to Transport Fever 2/game folder, or set the environmental variable LD_LIBRARY_PATH before running the game as in this example:
export LD_LIBRARY_PATH=~/.steam/bin32/steam-runtime/lib/x86_64-linux-gnu
Hope it will help anyone having the same problem.
./TransportFever2: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Unfortunately Mint 19.2 comes only with libpng16 and older versions aren't available in the repo.
As a quick workaround for anyone experiencing the same problem the library can be found in the Steam client, in My case it's localized in ~/.steam/bin32/steam-runtime/lib/x86_64-linux-gnu, so you can link it to Transport Fever 2/game folder, or set the environmental variable LD_LIBRARY_PATH before running the game as in this example:
export LD_LIBRARY_PATH=~/.steam/bin32/steam-runtime/lib/x86_64-linux-gnu
Hope it will help anyone having the same problem.