camera-streamer icon indicating copy to clipboard operation
camera-streamer copied to clipboard

camera-streamer: symbol lookup error on a new Raspian install on a RPi3B

Open Rehaell opened this issue 10 months ago • 1 comments

Hi all,

I've just installed Raspian on a RPi3B and manually downloaded camera-streamer-raspi_0.2.8.bookworm_arm64.deb and installed as follows

pi@rehaell-pi3:/tmp $ sudo apt install /tmp/camera-streamer-raspi_0.2.8.bookworm_arm64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'camera-streamer-raspi' instead of '/tmp/camera-streamer-raspi_0.2.8.bookworm_arm64.deb'
The following additional packages will be installed:
  libcamera0.1
The following NEW packages will be installed:
  camera-streamer-raspi libcamera0.1
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 506 kB/11.4 MB of archives.
After this operation, 16.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.raspberrypi.com/debian bookworm/main arm64 libcamera0.1 arm64 0.1.0+rpt20231122-1 [506 kB]
Get:2 /tmp/camera-streamer-raspi_0.2.8.bookworm_arm64.deb camera-streamer-raspi arm64 0.2.8~bookworm [10.9 MB]
Fetched 506 kB in 0s (1,038 kB/s)
Selecting previously unselected package libcamera0.1:arm64.
(Reading database ... 148771 files and directories currently installed.)
Preparing to unpack .../libcamera0.1_0.1.0+rpt20231122-1_arm64.deb ...
Unpacking libcamera0.1:arm64 (0.1.0+rpt20231122-1) ...
Selecting previously unselected package camera-streamer-raspi.
Preparing to unpack .../camera-streamer-raspi_0.2.8.bookworm_arm64.deb ...
Unpacking camera-streamer-raspi (0.2.8~bookworm) ...
Setting up libcamera0.1:arm64 (0.1.0+rpt20231122-1) ...
Setting up camera-streamer-raspi (0.2.8~bookworm) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u9) ...
pi@rehaell-pi3:/tmp $ camera-streamer
camera-streamer: symbol lookup error: /lib/aarch64-linux-gnu/libcamera.so.0.1: undefined symbol: _ZN7libpisp22compute_optimal_strideER24pisp_image_format_config

However, every time I run camera-streamer i get the error camera-streamer: symbol lookup error: /lib/aarch64-linux-gnu/libcamera.so.0.1: undefined symbol: _ZN7libpisp22compute_optimal_strideER24pisp_image_format_config

This was happening on my old installed, where I was using a USB camera with the generic camera-streamer package, so since I now changed to a raspberry camera module 3, I assumed there was some packages that were mixed with the old installed and decided to wipe everything and start over, but the issue is still here.

I'm not sure what I'm doing wrong.

I literately just flashed the SD card, updated raspian, wget the .deb package and installed as above.

Rehaell avatar Feb 06 '25 18:02 Rehaell

I had a similar issue today, after the recent libcamera package upgrade on Raspberry Pi OS, camera-streamer (through crowsnest) started throwing the same error (but against libcamera.so.0.3):

symbol lookup error: /lib/aarch64-linux-gnu/libcamera.so.0.3: undefined symbol: _ZN7libpisp22compute_optimal_strideER24pisp_image_format_config

I've re-compiled camera-streamer and it's working fine now.

excieve avatar Feb 06 '25 21:02 excieve