Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version | 9.10.0
- Distro version | bookworm 0
- Kernel version | Linux paisley 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
- Architecture | arm64
- SBC model | RPi 3 Model B+ (aarch64)
- Power supply used | Geekworm X-UPS1 (4x 18650 UPS)
- SD card used | Samsung EVO Plus
Additional Information (if applicable)
Software title | (EG: Nextcloud)Was the software title installed freshly or updated/migrated?- Can this issue be replicated on a fresh installation of DietPi? It is occurring on a fresh installation of DietPi (but I have not tested on another).
Bug report ID |echo $G_HW_UUID
Steps to reproduce
- Install mjpg-streamer via
dietpi-software
Expected behaviour
sudo systemctl status mjpg-streamer
should be running
Actual behaviour
mjpg-streamer fails to start, apparently because a file input_raspicam.so
is missing?
$ sudo systemctl status mjpg-streamer
× mjpg-streamer.service - mjpg-streamer (DietPi)
Loaded: loaded (/etc/systemd/system/mjpg-streamer.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Thu 2025-02-20 18:03:56 PST; 2s ago
Duration: 253ms
Docs: https://github.com/jacksonliam/mjpg-streamer/tree/master/mjpg-streamer-experimental
Process: 1886 ExecStart=/opt/mjpg-streamer/mjpg_streamer -i input_raspicam.so -o output_http.so -p 8082 -n (code=exited, status=1/FAILURE)
Main PID: 1886 (code=exited, status=1/FAILURE)
CPU: 250ms
Feb 20 18:03:56 paisley mjpg_streamer[1886]: Perhaps you want to adjust the search path with:
Feb 20 18:03:56 paisley mjpg_streamer[1886]: # export LD_LIBRARY_PATH=/path/to/plugin/folder
Feb 20 18:03:56 paisley mjpg_streamer[1886]: dlopen: input_raspicam.so: cannot open shared object file: No such file or directory
Feb 20 18:03:56 paisley mjpg_streamer[1886]: MJPG-streamer [1886]: MJPG Streamer Version.: 2.0
Feb 20 18:03:56 paisley systemd[1]: mjpg-streamer.service: Main process exited, code=exited, status=1/FAILURE
Feb 20 18:03:56 paisley mjpg_streamer[1886]: MJPG-streamer [1886]: ERROR: could not find input plugin
Feb 20 18:03:56 paisley mjpg_streamer[1886]: MJPG-streamer [1886]: Perhaps you want to adjust the search path with:
Feb 20 18:03:56 paisley systemd[1]: mjpg-streamer.service: Failed with result 'exit-code'.
Feb 20 18:03:56 paisley mjpg_streamer[1886]: MJPG-streamer [1886]: # export LD_LIBRARY_PATH=/path/to/plugin/folder
Feb 20 18:03:56 paisley mjpg_streamer[1886]: MJPG-streamer [1886]: dlopen: input_raspicam.so: cannot open shared object file: No such file or directory
$ ls /opt/mjpg-streamer
input_file.so input_http.so input_uvc.so mjpg_streamer output_file.so output_http.so output_rtsp.so output_udp.so
Extra details
N/A