News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[BUG] Simutrans-Extended fails to start in Kubuntu 22.04

Started by Matthew, May 26, 2022, 11:17:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Matthew

Steps to reproduce

1. Install or upgrade to Kubuntu 22.04 Jammy Jellyfish
2. Install Simutrans-Extended
3. Run Nightly Updater to download latest nightly from B-B
3. Run ./simutrans-extended in a terminal

Expected results

Game starts.

Actual results

Terminal reports:
./simutrans-extended: error while loading shared libraries: libminiupnpc.so.17: cannot open shared object file: No such file or directory
This doesn't happen with my self-compiled builds.

Workaround

Install libminiupnpc17 from repository using your preferred package manager.

This library is installed by default in vanilla Ubuntu Desktop, Lubuntu and Kylin 22.04, but not in Kubuntu or Ubuntu Server.

Suggested solution

IMHO this is a documentation bug, so update the Extended Download instructions with the workaround, as other KDE-based distros might be affected too.

Would be nice if Sim-Ex failed more gracefully, but I don't know if that's even possible.
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。

jamespetts


Thank you for the report: I have updated the documentation accordingly.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Mariculous

This is not a simutrans bug but simply how Linux distribution works.
Recent versions of Ubuntu have updated from libminiupnpc16 to libminiupnpc17, so builds from such systems will link against libminiupnpc17.
OpenSUSE Leap 15.3 doesn't even provide a libminiupnpc17 in their official packages, so I am running a self-compiled version of simutrans-extended.