Comments

Log in with itch.io to leave a comment.

Hi Cesar! I've downloaded your game and I'm trying to get it working on Debian Bullseye, but it tells me that a shared library is missing:

./The_Lost_Mines: error while loading shared libraries: libsndio.so.7: cannot open shared object file: No such file or directory

I have installed the `libsndio7.0` package but it doesn't have the exact shared library that the binary expects, that is `libsndio.so.7`:

$ ls -l /usr/lib/x86_64-linux-gnu/libsndio*
lrwxrwxrwx 1 root root    15  1 nov.  2018 /usr/lib/x86_64-linux-gnu/libsndio.so -> libsndio.so.7.0
-rw-r--r-- 1 root root 59616  1 nov.  2018 /usr/lib/x86_64-linux-gnu/libsndio.so.7.0

Is it an incompatibility between linux distros? I see that you also provide a folder with libraries, but this isn't included either

(1 edit)

Let my check, but i tried it on Mint and SteamOs and worked with the included libs. Keep in mind that the game checks for the shared objects in the libs folder included in the game. Try to copy libsndio file to this folder first (rename it to the expected name to make it works "libsndio.so.7.0" to "libsndio.so.7"). Best regards

(2 edits)

Hi again Cesar!

I've tried it again, both by soflinking the library and copying it to the included `libs/x86_64-lunx-gnu` folder and now the error is a `Segmentation fault`:

$ ./The_Lost_Mines 
Violació de segment
$ tree libs/
libs/
└── x86_64-linux-gnu
    ├── libc.so.6
    ├── libFLAC.so.12
    ├── libgcc_s.so.1
    ├── libm.so.6
    ├── libopenal.so.1
    ├── libSDL2-2.0.so.0
    ├── libSDL2_ttf-2.0.so.0
    ├── libsfml-audio.so.3.0
    ├── libsfml-system.so.3.0
    ├── libsndio.so.7 -> /usr/lib/x86_64-linux-gnu/libsndio.so.7.0
    └── libstdc++.so.6

I'll try to install Debian somewhere and give it a try. There may be some incompatible libraries across different Linux distributions. As a test, you can try replacing the libraries in this folder with the ones that come with your distribution. As I mentioned before, it's strange because it runs smoothly on Mint, SteamOS, and RaspberryOS systems, but some shared objects may not be the same version, causing this segmentation fault error.

Hi!

I just updated the itch.io Linux version package with the version of libsndio.so.7 included in my system (the one I used to compile SFML and the game). It seems it's version 7.1, while your system is using version 7.0. Please try downloading the game again and check if the file is successfully updated. Afterward, try playing again.

The game keeps crashing with Segmentation Fault. I think that's because it still uses some of the system libraries and there might be some incompatibility. I attach you the `ldd` output of the binary:

$ ./The_Lost_Mines 
Violació de segment
$ ldd The_Lost_Mines 
linux-vdso.so.1 (0x00007ffe0694d000)
libSDL2-2.0.so.0 => libs/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f046450c000)
libSDL2_ttf-2.0.so.0 => libs/x86_64-linux-gnu/libSDL2_ttf-2.0.so.0 (0x00007f04644f5000)
libsfml-audio.so.3.0 => libs/x86_64-linux-gnu/libsfml-audio.so.3.0 (0x00007f04644c5000)
libstdc++.so.6 => libs/x86_64-linux-gnu/libstdc++.so.6 (0x00007f046429b000)
libm.so.6 => libs/x86_64-linux-gnu/libm.so.6 (0x00007f04641b4000)
libgcc_s.so.1 => libs/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0464192000)
libc.so.6 => libs/x86_64-linux-gnu/libc.so.6 (0x00007f0463f6a000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f0463e79000)
libsfml-system.so.3.0 => libs/x86_64-linux-gnu/libsfml-system.so.3.0 (0x00007f0463e6c000)
libopenal.so.1 => libs/x86_64-linux-gnu/libopenal.so.1 (0x00007f0463d84000)
libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f0463cd7000)
libvorbisfile.so.3 => /lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f0463ccc000)
libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f0463c9f000)
libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f0463c92000)
libFLAC.so.12 => libs/x86_64-linux-gnu/libFLAC.so.12 (0x00007f0463c56000)
/lib64/ld-linux-x86-64.so.2 (0x00007f04647d4000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f0463c1a000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0463bfd000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f0463bef000)
libsndio.so.7 => libs/x86_64-linux-gnu/libsndio.so.7 (0x00007f0463bdb000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f0463bb8000)
libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f0463ab9000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f0463aa2000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0463a9c000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0463a7a000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f0463a6d000)

I'll try to install a Debian distribution and then attempt to run/recompile the game when I find the time to do so. However, I'm unsure when that will be.