Log In  


Couldn't find any info on this but when I launch pico-8 on Raspbery Pi 4 I get this error.

pi@raspberrypi:~/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:
Version:June 2019
Release date:2019-06-20
Kernel version:4.19

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.

1


1

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"
"cd sndio-1.2.0"
"./configure"
"make"
"sudo make install"

That should sort it. I had this problem myself.


Totally worked! Fantastic!.

Many thanks!


You're very welcome :)


1

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.


Thanks a lot!
I had the same problem here


I'm getting the same error on a fresh rasbian install on a Pi 3b.

I tried the first solution above, and it errored out on the make. Tried the second also, and didn't work.

Any ideas? (granted, this is the first time I've tried to install Pico-8 on a Pi, and I really don't know what I'm doing, lol)


First idea worked fine for me.

@Stobe If you provide more details on the error it's easier to get ideas on what you need. Without it, well, try sudo.


Sorry to resurrect this thread...

Question to those running Pico-8 successfully on Pi 4 with Buster...is it running from the desktop or console?

I can get it to run in the desktop (badly, with tearing etc), but not console (my specific issue here: https://www.lexaloffle.com/bbs/?pid=66625#p).



[Please log in to post a comment]