Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Can't Run It :(

A topic by bicubico created Oct 04, 2017 Views: 845 Replies: 3
Viewing posts 1 to 3

When trying to run px8 it says:

>./px8: error while loading shared libraries: cannot open shared object file: No such file or directory  
I'm running Linux Mint Cinnamon, and my libpython is 3.5. 
(5 edits)

It might be as simple as  
    sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/

However, I'm on Debian Testing, and it uses Python 3.6  
So, you might need to locate your specific libpython3 just to be sure.  

    sudo apt-get install mlocate && updatedb
    locate libpython3.

In my case, I used:  
    sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/

If this doesn't solve it, you can look here for more info.

$ ./px8
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "MIDI support not available"', /checkout/src/libcore/

how to solve this one?

you'll need an app that plays MIDI.  likely, either timidity or fluidsynth.  

timidity defaults to using freepats, so that might be the easiest route.

sudo apt-get install timidity-daemon freepats vmpk

to use another soundfont, you'd need to install one, then edit  /etc/timidity/timidity.cfg


If you'd rather use fluidsynth, then you can look inside the qsynth app for setup.

sudo apt-get install fluidsynth qsynth qjackctl fluid-soundfont-gm fluid-soundfont-gs opl3-soundfont vmpk

You'll need to tell qsynth which soundfonts you have installed.
and specify if your system uses ALSA, PulseAudio, or JACK


If you decide to use JACK, then qjackctl helps with setting that up.
Just open it first, and press Start, to get JACK running.

That's up to you.  It might be easier to skip JACK,
and just tell qsynth that you're using ALSA or PulseAudio


you can test your setup with VMPK, the Virtual MIDI Piano Keyboard.
Edit > Connections > then select the appropriate Output,
either timidity or fluidsynth.

set volume, tap a few keys, should hear tones.