Unable to run Linux package

I’ve tried several Linux packages of several versions. For all, after unarchiving the package and trying to run ‘Stephanie’, nothing happens.

This is on Ubuntu.

What am I missing?

2 Likes

We’re making a build to fix the missing libraries, the ffmpeg libraries were missing.

1 Like

Awesome.

Buuuut, I am not getting any kind of notification or error message saying there is a problem.

Is fixing this (on my end) just a matter of installing ffmpeg libraries? Or these need to be put in a particular folder within the package?

1 Like

open a terminal windows, cd to the stepmania directory and run ./stepmania Let us know the output if fails to start. Also can you provide what ubuntu version you are running? and which download you are using?

1 Like

Download: Stepmania-Outfox-Alpha-4.8.2-amd64-date-20200818

Error after running ./stepmania:
error while loading shared libraries: libswscale.so 5: cannot open shared object file: No such file or directory

Ubuntu: 18.04.5 LTS

1 Like

okay, so those libraries are included, can you try this…

In the directory…

ln -s libswscale.so libswscale.so.5
ln -s libavutil.so libavutil.so.56
ln -s libavformat.so libavformat.so.58
ln -s libavcodec.so libavcodec.so.58

If it still doesn’t boot, please send the output from the following command to see what dependencies you are still missing.

ldd ./stepmania

Thanks

1 Like

Thanks.

After executing the 4 ln commands, I ran ./stepmania, which gave me:

./stepmania: error while loading shared libraries: libswscale.so.5: cannot open shared object file: No such file or directory

ldd ./stepmania then gives me:

linux-vdso.so.1 (0x00007ffd8238f000)
libswscale.so.5 => not found
libavcodec.so.58 => not found
libavformat.so.58 => not found
libavutil.so.56 => not found
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fcdd6bb3000)
libOpenGL.so.0 => not found
libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fcdd6982000)
libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fcdd6713000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fcdd6503000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcdd62e4000)
libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007fcdd5fdd000)
libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007fcdd5d96000)
libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007fcdd5b46000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fcdd580e000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fcdd55fc000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007fcdd53f9000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fcdd51c7000)
libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007fcdd4fbb000)
libdiscord_game_sdk.so (0x00007fcdd4a74000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fcdd46eb000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcdd434d000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fcdd4135000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcdd3d44000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcdd6db7000)
libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fcdd3a8e000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fcdd3802000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fcdd35fa000)
libpulsecommon-11.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so (0x00007fcdd337c000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fcdd312f000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fcdd2f07000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fcdd2cea000)
libbrotlicommon.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007fcdd2aca000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fcdd2846000)
libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007fcdd263c000)
libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007fcdd23c3000)
libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007fcdd21bd000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fcdd1fb9000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fcdd1db3000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fcdd1b8d000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fcdd1971000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fcdd1655000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fcdd143b000)
libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007fcdd11c4000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fcdd0fbb000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fcdd0d90000)
libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fcdd0ae7000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fcdd08cc000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fcdd06b7000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fcdd04a2000)

I am not a Linux specialist, but it looks to me like creating those links did not work.

Also, my older installation of Stepmania (5.1), which resides on the same machine, is now broken. :frowning:

1 Like

I had the same issue under Ubuntu 18.04.5 LTS, this fix worked for me. Before looking up this solution, I had also (re)installed FFmpeg, so MastaBaba may also want to try that.

May also be worth mentioning that I did not have this issue on MX Linux 19.2, so it seems this is specifically an Ubuntu issue.

1 Like

In that case you were just running system libraries, we include the libs so you don’t have to have them installed. They just need to be named correctly.

1 Like

Looks like you do not even have libopengl…

libOpenGL.so.0 => not found

Can you install libglvnd? It should be included in there.

1 Like

Thanks.

From here: https://github.com/NVIDIA/libglvnd

I did this:

sudo apt-get install libxext-dev libx11-dev x11proto-gl-dev

./stepmania gives me this:

./stepmania: error while loading shared libraries: libswscale.so.5: cannot open shared object file: No such file or directory

ldd ./stepmania gives me the same as before:

linux-vdso.so.1 (0x00007ffc2baf9000)
libswscale.so.5 => not found
libavcodec.so.58 => not found
libavformat.so.58 => not found
libavutil.so.56 => not found
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f215aa75000)
libOpenGL.so.0 => not found
libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f215a844000)
libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f215a5d5000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f215a3c5000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f215a1a6000)
libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f2159e9f000)
libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f2159c58000)
libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f2159a08000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f21596d0000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f21594be000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f21592bb000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f2159089000)
libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f2158e7d000)
libdiscord_game_sdk.so (0x00007f2158936000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f21585ad000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f215820f000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2157ff7000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2157c06000)
/lib64/ld-linux-x86-64.so.2 (0x00007f215ac79000)
libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f2157950000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f21576c4000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f21574bc000)
libpulsecommon-11.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so (0x00007f215723e000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f2156ff1000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f2156dc9000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2156bac000)
libbrotlicommon.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f215698c000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f2156708000)
libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f21564fe000)
libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f2156285000)
libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f215607f000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f2155e7b000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f2155c75000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2155a4f000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f2155833000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f2155517000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f21552fd000)
libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f2155086000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f2154e7d000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f2154c52000)
libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f21549a9000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f215478e000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f2154579000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f2154364000)
1 Like

Hi @MastaBaba,
you have probably figured it out or gave up, but just in case you or other people need it, here is the list of all dependencies I had to install on minimal Ubuntu 20.04.1-desktop:

libswscale5 libavcodec58 libavformat58 libopengl0

In command line:

 sudo apt-get update
 sudo apt-get install libswscale5 libavcodec58 libavformat58 libopengl0

Hope it helps

1 Like

these come with the recent packages now, so do need to download system libraries for them.

1 Like