Issue trying to run linux version?

I am not used to Linux really. I downloaded the official release, opened in terminal and typed ./brogue but I get this error:

​

error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

​

Any idea how I can fix this? I am using ubuntu

Posted Sep 19, 2019, 10:53 AM UTC

38
SkyBrute•

Had a similar problem. Look where you installed brogue and try to open the executable. Works for me. Good luck!

1
ohmless90OP•

That's what I don't understand about Linux version. I didn't install anything. I downloaded the folder ending in .tbz2, extracted it and ran

./brogue

1
SkyBrute•

It's actually pretty common for lightweight applications to not be installed. Brogue should normally be executable without installation. I had issues with running brogue on linux from the console aswell because the code didn't seem to have an access to some kind of library (i am no expert!). As I said, it worked for me to just execute the program like on windows by double clicking it.

1
ohmless90OP•

Okay thanks, for me this seems to just open a text editor though

1
Kuranes•

That's because it's a bash script (which is just a text file) running the true binary file from bin/ along with some parameters.

You can run the binary file named "brogue" (located in the bin/ directory) by double clicking on it, assuming the missing shared library problem has been solved.

1
Kuranes•

It's looking for the 1.2 version of the SDL library. Just install it (libsdl1.2) it's in the repositories.

$ sudo apt install libsdl1.2

might do the trick. If it says it's already installed, something is wrong with your PATH or shell profile.

edit: simplified the message, the package is in the repositories

1
ohmless90OP•

Thanks I installed that. Now to says I need "libncurses.so.6" which doesn't seem to exist? I have 5 installed

1
Kuranes•

Upgrade it!

$ sudo apt update&&sudo apt install libncurses

Or upgrade your Ubuntu installation.

1