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.

P#65544 2019-07-03 20:16


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"
"sudo make install"

That should sort it. I had this problem myself.

P#65555 2019-07-04 16:08

Totally worked! Fantastic!.

Many thanks!

P#65557 2019-07-04 17:35

You're very welcome :)

P#65560 2019-07-04 19:25

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.

P#65697 2019-07-08 10:04

Thanks a lot!
I had the same problem here

P#66032 2019-07-22 19:55

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)

P#66045 2019-07-23 14:40

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.

P#66055 2019-07-23 19:55

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).

P#66626 2019-08-12 20:31

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-12-07 04:33:23 | 0.044s | Q:25