Error Libavformat So
Contents |
Board index The team Delete all board cookies All times are UTC
on Raspberry Pi 2 Jessie March 6, 2016September 21, 2016 by Joakim Lahtinen Installing Installing Motion on the Jessie dist is not completely straight
Package 'libjpeg62-dev' Has No Installation Candidate
forward. When installing it through apt-get like normally, you will see something libavformat53 raspberry pi like the following in the logs: Note, selecting ‘libjpeg62-turbo’ instead of ‘libjpeg62’ It turns out that the Jessie motion-mmal jessie dist is using a different libjpeg library than the Wheezy dist, which causes some issues when trying to run Motion. The error log will contain the following: ./motion: error https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=123397 while loading shared libraries: libavformat.so.53: cannot open shared object file: No such file or directory So what you need to do is the following; first install all dependencies manually: sudo apt-get install -y libjpeg-dev libavformat56 libavformat-dev libavcodec56 libavcodec-dev libavutil54 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev Then download and untar this modified Motion release: wget https://www.dropbox.com/s/6ruqgv1h65zufr6/motion-mmal-lowflyerUK-20151114.tar.gz
tar -zxvf motion-mmal-lowflyerUK-20151114.tar.gz http://www.joakimlahtinen.se/2016/installing-motion-on-raspberry-pi-2-jessie/ (The source for this package can be found at https://github.com/lowflyerUK/motion/tree/mmal-test) And then to start the program, run: sudo ./motion -c motion-mmalcam-both.conf Done! Categories DevTags Raspberry Pi Post navigation Installing Go on Raspberry Pi 2 and creating a simple file server Bigben Play Wireless Controller (Wii U Pro controller) review 20 thoughts on “Installing Motion on Raspberry Pi 2 Jessie” Ben April 28, 2016 at 16:43 | Reply Thanks! tranzistor May 18, 2016 at 08:57 | Reply oh yeah! Multumesc! Joyce May 26, 2016 at 19:37 | Reply Wow, you solved my issue in 3 minutes, that I had been troubleshooting for 2 days. Thanks so much! Bill June 9, 2016 at 19:54 | Reply Cannot get more than 5M out of new 8Meg camera with Motion. Picam.py will go the 3280 x 2464. Have others got it working? Thanks for the Jessie version. Isaac June 28, 2016 at 06:59 | Reply Thank you so much! Pana507 August 14, 2016 at 04:56 | Reply Very good tutorial, I solved a big problem Question, this also works with webcam? Regar
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings http://stackoverflow.com/questions/24709115/how-to-load-correct-libavcodec-so-shared-library-version-53 and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; unable to it only takes a minute: Sign up How to load correct libavcodec.so shared library version? (53) up vote 1 down vote favorite I am using libavcodec and libavformat in my project but when I execute a binary which was built on another machine, I get the following error: error while loading shared libraries: libavcodec.so.53: cannot open shared object file: No unable to locate such file or directory I installed ffmpeg with libav and trying the following commands: sudo apt-get install ffmpeg libavcodec-dev libavformat-dev sudo apt-get install ffmpeg libavcodec-extra-53 sudo apt-get install libav-tools The error doesnt show up when I build the binary on the same machine, but it would be much faster to compile on a second machine. UDPATE: I also ran sudp apt-get install update and sudo apt-get install pkg-config without any change in the output. (OS = 12.04) ffmpeg libav share|improve this question edited Jul 15 '14 at 19:41 asked Jul 12 '14 at 2:40 user2212461 4061431 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted https://sites.google.com/site/linuxencoding/builds try installing the linux binary for ffmpeg from the above website. just so that every user benefits from this answer i am adding links to ffmpeg binaries available for different platforms for centOS http://pkgs.repoforge.org/ffmpeg/ Tutorial for installation : http://www.rackspace.com/knowledge_center/article/centos-installing-ffmpeg for mac http://ffmpegmac.net/ for windows http://ffmpeg.zeranoe.com/builds/ also i have made a video tutorial to install a binary. but this is on mac. but i assume its the