iizukanao / picam

Audio/video recorder for Raspberry Pi with language agnostic API
GNU Lesser General Public License v2.1
489 stars 78 forks source link

error while loading shared libraries: libopenmaxil.so #167

Closed DrFailbucket closed 2 years ago

DrFailbucket commented 2 years ago

Could someone please help me?

When i try "./picam --alsadev hw:1,0" then this error shows up: "./picam: error while loading shared libraries: libopenmaxil.so: cannot open shared object file: No such file or directory"

jlar0che commented 2 years ago

Same issue here. Seems like picam doesn't work with the newest version of Raspbian (Bullseye).

bxmatus commented 2 years ago

This file works for me: https://github.com/raspberrypi/rpi-firmware/blob/74b4d8722026cf1db5f8a3953bca2639dc548667/vc/hardfp/opt/vc/lib/libopenmaxil.so

simonborgithub commented 2 years ago

This worked for me: sudo ln -s /opt/vc/lib/libopenmaxil.so /usr/lib/libopenmaxil.so

(from: https://github.com/aws-samples/amazon-kinesis-video-streams-demos/blob/master/producer-cpp/docker-raspberry-pi/Dockerfile)

iizukanao commented 2 years ago

Sorry for the inconvenience. I finally got some time and I'm reworking picam to use libcamera instead of the legacy camera/encoder libraries (OpenMAX and MMAL). Please wait a little longer.

iizukanao commented 2 years ago

picam version 2.0.0 has been released with libcamera support. libopenmaxil.so and legacy camera stack are no longer needed. https://github.com/iizukanao/picam/releases/tag/v2.0.0