View Full Version : Missing ncurses lib
kaisom
12-08-2020, 03:59 AM
./game: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
Where do I find this library? Thanks in advance.
Kaisoma
kaisom
12-08-2020, 04:02 AM
./game: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
Where do I find this library? Thanks in advance.
Kaisoma
nvm, i think i found it with the package manager. Still an unexpected error; needs to be fixed -- and I trust Adrian is working on it.
OrganonFR
02-02-2021, 10:16 PM
The same here with Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal :
xxx@xxxx:~$ ~/regnum/rolauncher
(rolauncher:4939): GLib-CRITICAL **: 23:00:23.178: Source ID 944 was not found when attempting to remove it
./game: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
But i can launch it with steam on same pc....
schachteana
02-25-2021, 01:58 PM
Regnum expects an outdated library. You can solve this by pretending to the game it exists by creating a link from the new one.
For example, on Ubuntu 20.04:
ln -s /lib/x86_64-linux-gnu/libncursesw.so.6 /lib/x86_64-linux-gnu/libncursesw.so.5
The path /lib/x86_64-linux-gnu/ might be different depending on your distribution.
The same here with Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal :
xxx@xxxx:~$ ~/regnum/rolauncher
(rolauncher:4939): GLib-CRITICAL **: 23:00:23.178: Source ID 944 was not found when attempting to remove it
./game: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
But i can launch it with steam on same pc....
As today it seems you can install both on Ubuntu20-based systems.
sudo apt-get install libncurses5 libncurses6
If you only install libncurses6, you can just create a symbolic link (as already said):
sudo ln -s /usr/lib/x86_64-linux-gnu/libncurses.so.6.2 /usr/lib/x86_64-linux-gnu/libncurses.so.5
vBulletin® v3.8.7, Copyright ©2000-2025, vBulletin Solutions, Inc.