Couldn't find any info on this but when I launch pico-8 on Raspbery Pi 4 I get this error.
[email protected]:~/pico-8 $ sudo ./pico8
./pico8: error while loading shared libraries: libsndio.so.6.1: cannot open shared object file: No such file or directory
Raspbian Version Info:
I wasn't totally surprised it didn't launch as I think there is new version of Raspbian for RPI4 so there could be issues.
I tried running it on a Pi2 (I think it was) that I had and it launched fine there so this isn't necessarily a problem that I need a solution for (as I can probably just use the much slower 2 for a bit), though it would be nice to know if there was an easy fix. I'm mostly reporting it just because I came across it and didn't see it reported.
First, you'll also need to install a supporting lib by doing: -
"sudo apt-get install libasound2-dev"
The lib you need isn't in the repos, sadly.
So download the lib from here: -https://t.co/jZy96cDeCC?amp=1
"tar -xf sndio-1.2.0.tar.gz"
"sudo make install"
That should sort it. I had this problem myself.
You can probably just:
sudo ln -s /usr/lib/arm-linux-gnueabihf/libsndio.so.7.0 /usr/lib/ arm-linux-gnueabihf/libsndio.so.6.1
I suspect the API for libsndio is relatively stable, and pico-8 at least runs and loads a game for me on Pi4/Buster using this technique.
[Please log in to post a comment]