I have been trying to install motion on my Pi3, only to be chasing library errors at every step. None of the tutorials seem to say what flavor of Pi OS to use. I am beginning to wonder if I chose the wrong one?
pi@raspberrypi:~/mmal $ sudo ./motion -n -c motion-mmalcam.conf
./motion: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
I took care of that error and then I get
pi@raspberrypi:~/mmal $ sudo ./motion -n -c motion-mmalcam.conf
./motion: error while loading shared libraries: libavformat.so.53:
cannot open shared object file: No such file or directory
pi@raspberrypi:~/mmal $ sudo apt-get install -y libavformat53 libavformat53-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libavformat53
E: Unable to locate package libavformat53-dev
What has changed since all the tutorials were made as none have these issues? Is there a better repro to start with to get motion to work?
ldconfig
as here: serverfault.com/questions/54736/…