Log In  

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:
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

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.

P#65555 2019-07-04 16:08
:: mdgunn

Totally worked! Fantastic!.

Many thanks!

P#65557 2019-07-04 17:35

You're very welcome :)

P#65560 2019-07-04 19:25
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.

P#65697 2019-07-08 10:04

Thanks a lot!
I had the same problem here

P#66032 2019-07-22 19:55

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-07-23 10:31 | 0.024s | 2097k | Q:21