Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pibooth 2.0.8 with pi5 et picamV3 - OSError: libbcm_host.so: cannot open shared object file: No such file or directory #582

Open
Romain34725 opened this issue May 13, 2024 · 1 comment

Comments

@Romain34725
Copy link

Describe the bug
when i start pibooth, the program don't start

Logs
pibooth
pygame 2.5.2 (SDL 2.28.3, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/romain/.local/bin/pibooth", line 5, in
from pibooth.booth import main
File "/home/romain/.local/lib/python3.11/site-packages/pibooth/booth.py", line 28, in
from pibooth.plugins import create_plugin_manager
File "/home/romain/.local/lib/python3.11/site-packages/pibooth/plugins/init.py", line 8, in
from pibooth.plugins.camera_plugin import CameraPlugin
File "/home/romain/.local/lib/python3.11/site-packages/pibooth/plugins/camera_plugin.py", line 6, in
from pibooth import camera
File "/home/romain/.local/lib/python3.11/site-packages/pibooth/camera/init.py", line 4, in
from pibooth.camera.rpi import RpiCamera, get_rpi_camera_proxy
File "/home/romain/.local/lib/python3.11/site-packages/pibooth/camera/rpi.py", line 8, in
import picamera
File "/home/romain/.local/lib/python3.11/site-packages/picamera/init.py", line 72, in
from picamera.exc import (
File "/home/romain/.local/lib/python3.11/site-packages/picamera/exc.py", line 41, in
import picamera.mmal as mmal
File "/home/romain/.local/lib/python3.11/site-packages/picamera/mmal.py", line 47, in
from .bcm_host import VCOS_UNSIGNED
File "/home/romain/.local/lib/python3.11/site-packages/picamera/bcm_host.py", line 47, in
_lib = ct.CDLL('libbcm_host.so')
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ctypes/init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libbcm_host.so: cannot open shared object file: No such file or directory

Environment

  • OS [12 (bookworm)]
  • Camera [picam v3]
  • Pibooth version [2.0.8]

do you have a solution for this problem ?

Thanks
Romain

@werdeil
Copy link
Member

werdeil commented May 14, 2024

Hi @Romain34725, unfortunately Pibooth 2.x is not compatible with Raspi OS > Buster.

You can try the v3.0 branch with no garantees as it is not yet finished and not tested on pi5 nor picamv3.

@werdeil werdeil added compatiblity and removed bug labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants