10-19-2016, 05:46 PM
My SD card is bloated with dev packages, so most of the times the libs are already there and i miss to include it.
This are the libraries linked to the binary, can you narrow down which one is needed?
ldd /usr/bin/ffmpeg-3.1.4
linux-vdso.so.1 => (0x0000007fa5f50000)
libXv.so.1 => /usr/lib/aarch64-linux-gnu/libXv.so.1 (0x0000007fa5f20000)
libX11.so.6 => /usr/lib/aarch64-linux-gnu/libX11.so.6 (0x0000007fa5df8000)
libXext.so.6 => /usr/lib/aarch64-linux-gnu/libXext.so.6 (0x0000007fa5dd7000)
libvdpau.so.1 => /usr/lib/aarch64-linux-gnu/libvdpau.so.1 (0x0000007fa5dc3000)
libva.so.1 => /usr/lib/aarch64-linux-gnu/libva.so.1 (0x0000007fa5d9a000)
libva-drm.so.1 => /usr/lib/aarch64-linux-gnu/libva-drm.so.1 (0x0000007fa5d86000)
libva-x11.so.1 => /usr/lib/aarch64-linux-gnu/libva-x11.so.1 (0x0000007fa5d71000)
libxcb.so.1 => /usr/lib/aarch64-linux-gnu/libxcb.so.1 (0x0000007fa5d46000)
libxcb-shm.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-shm.so.0 (0x0000007fa5d32000)
libxcb-xfixes.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-xfixes.so.0 (0x0000007fa5d1b000)
libxcb-shape.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-shape.so.0 (0x0000007fa5d07000)
libsndio.so.6.1 => /usr/lib/aarch64-linux-gnu/libsndio.so.6.1 (0x0000007fa5ce7000)
libjack.so.0 => /usr/lib/aarch64-linux-gnu/libjack.so.0 (0x0000007fa5c8d000)
libasound.so.2 => /usr/lib/aarch64-linux-gnu/libasound.so.2 (0x0000007fa5ba1000)
libSDL-1.2.so.0 => /usr/lib/aarch64-linux-gnu/libSDL-1.2.so.0 (0x0000007fa5b09000)
libx264.so.148 => /usr/lib/aarch64-linux-gnu/libx264.so.148 (0x0000007fa59a1000)
libv4l2.so.0 => /usr/lib/aarch64-linux-gnu/libv4l2.so.0 (0x0000007fa5983000)
libpulse.so.0 => /usr/lib/aarch64-linux-gnu/libpulse.so.0 (0x0000007fa5930000)
libmp3lame.so.0 => /usr/lib/aarch64-linux-gnu/libmp3lame.so.0 (0x0000007fa58b7000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007fa580c000)
liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007fa57de000)
libbz2.so.1.0 => /lib/aarch64-linux-gnu/libbz2.so.1.0 (0x0000007fa57be000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007fa5797000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007fa576a000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fa5624000)
/lib/ld-linux-aarch64.so.1 (0x00000055839e6000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007fa5611000)
libdrm.so.2 => /usr/lib/aarch64-linux-gnu/libdrm.so.2 (0x0000007fa55f2000)
libXfixes.so.3 => /usr/lib/aarch64-linux-gnu/libXfixes.so.3 (0x0000007fa55dd000)
libXau.so.6 => /usr/lib/aarch64-linux-gnu/libXau.so.6 (0x0000007fa55ca000)
libXdmcp.so.6 => /usr/lib/aarch64-linux-gnu/libXdmcp.so.6 (0x0000007fa55b4000)
libbsd.so.0 => /lib/aarch64-linux-gnu/libbsd.so.0 (0x0000007fa5591000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007fa5579000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007fa53ea000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007fa53c9000)
libpulse-simple.so.0 => /usr/lib/aarch64-linux-gnu/libpulse-simple.so.0 (0x0000007fa53b4000)
libcaca.so.0 => /usr/lib/aarch64-linux-gnu/libcaca.so.0 (0x0000007fa52e1000)
libv4lconvert.so.0 => /usr/lib/aarch64-linux-gnu/libv4lconvert.so.0 (0x0000007fa525c000)
libjson-c.so.2 => /lib/aarch64-linux-gnu/libjson-c.so.2 (0x0000007fa5241000)
libpulsecommon-8.0.so => /usr/lib/aarch64-linux-gnu/pulseaudio/libpulsecommon-8.0.so (0x0000007fa51cb000)
libdbus-1.so.3 => /lib/aarch64-linux-gnu/libdbus-1.so.3 (0x0000007fa5179000)
libslang.so.2 => /lib/aarch64-linux-gnu/libslang.so.2 (0x0000007fa4fdf000)
libncursesw.so.5 => /lib/aarch64-linux-gnu/libncursesw.so.5 (0x0000007fa4fa5000)
libtinfo.so.5 => /lib/aarch64-linux-gnu/libtinfo.so.5 (0x0000007fa4f6f000)
libjpeg.so.8 => /usr/lib/aarch64-linux-gnu/libjpeg.so.8 (0x0000007fa4f28000)
libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000007fa4ea5000)
libwrap.so.0 => /lib/aarch64-linux-gnu/libwrap.so.0 (0x0000007fa4e8c000)
libsndfile.so.1 => /usr/lib/aarch64-linux-gnu/libsndfile.so.1 (0x0000007fa4e22000)
libasyncns.so.0 => /usr/lib/aarch64-linux-gnu/libasyncns.so.0 (0x0000007fa4e0b000)
libselinux.so.1 => /lib/aarch64-linux-gnu/libselinux.so.1 (0x0000007fa4dde000)
libgcrypt.so.20 => /lib/aarch64-linux-gnu/libgcrypt.so.20 (0x0000007fa4d44000)
libnsl.so.1 => /lib/aarch64-linux-gnu/libnsl.so.1 (0x0000007fa4d1f000)
libFLAC.so.8 => /usr/lib/aarch64-linux-gnu/libFLAC.so.8 (0x0000007fa4cbf000)
libvorbisenc.so.2 => /usr/lib/aarch64-linux-gnu/libvorbisenc.so.2 (0x0000007fa4c0f000)
libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x0000007fa4bea000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007fa4b79000)
libgpg-error.so.0 => /lib/aarch64-linux-gnu/libgpg-error.so.0 (0x0000007fa4b57000)
libogg.so.0 => /usr/lib/aarch64-linux-gnu/libogg.so.0 (0x0000007fa4b40000)
libvorbis.so.0 => /usr/lib/aarch64-linux-gnu/libvorbis.so.0 (0x0000007fa4b0a000)
You could also try to install some dev packages:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
and also, can you try this and write down the results (backup your SD CARD before)?
sudo apt-get install libopencv-dev python-opencv
This are the libraries linked to the binary, can you narrow down which one is needed?
ldd /usr/bin/ffmpeg-3.1.4
linux-vdso.so.1 => (0x0000007fa5f50000)
libXv.so.1 => /usr/lib/aarch64-linux-gnu/libXv.so.1 (0x0000007fa5f20000)
libX11.so.6 => /usr/lib/aarch64-linux-gnu/libX11.so.6 (0x0000007fa5df8000)
libXext.so.6 => /usr/lib/aarch64-linux-gnu/libXext.so.6 (0x0000007fa5dd7000)
libvdpau.so.1 => /usr/lib/aarch64-linux-gnu/libvdpau.so.1 (0x0000007fa5dc3000)
libva.so.1 => /usr/lib/aarch64-linux-gnu/libva.so.1 (0x0000007fa5d9a000)
libva-drm.so.1 => /usr/lib/aarch64-linux-gnu/libva-drm.so.1 (0x0000007fa5d86000)
libva-x11.so.1 => /usr/lib/aarch64-linux-gnu/libva-x11.so.1 (0x0000007fa5d71000)
libxcb.so.1 => /usr/lib/aarch64-linux-gnu/libxcb.so.1 (0x0000007fa5d46000)
libxcb-shm.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-shm.so.0 (0x0000007fa5d32000)
libxcb-xfixes.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-xfixes.so.0 (0x0000007fa5d1b000)
libxcb-shape.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-shape.so.0 (0x0000007fa5d07000)
libsndio.so.6.1 => /usr/lib/aarch64-linux-gnu/libsndio.so.6.1 (0x0000007fa5ce7000)
libjack.so.0 => /usr/lib/aarch64-linux-gnu/libjack.so.0 (0x0000007fa5c8d000)
libasound.so.2 => /usr/lib/aarch64-linux-gnu/libasound.so.2 (0x0000007fa5ba1000)
libSDL-1.2.so.0 => /usr/lib/aarch64-linux-gnu/libSDL-1.2.so.0 (0x0000007fa5b09000)
libx264.so.148 => /usr/lib/aarch64-linux-gnu/libx264.so.148 (0x0000007fa59a1000)
libv4l2.so.0 => /usr/lib/aarch64-linux-gnu/libv4l2.so.0 (0x0000007fa5983000)
libpulse.so.0 => /usr/lib/aarch64-linux-gnu/libpulse.so.0 (0x0000007fa5930000)
libmp3lame.so.0 => /usr/lib/aarch64-linux-gnu/libmp3lame.so.0 (0x0000007fa58b7000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007fa580c000)
liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007fa57de000)
libbz2.so.1.0 => /lib/aarch64-linux-gnu/libbz2.so.1.0 (0x0000007fa57be000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007fa5797000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007fa576a000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fa5624000)
/lib/ld-linux-aarch64.so.1 (0x00000055839e6000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007fa5611000)
libdrm.so.2 => /usr/lib/aarch64-linux-gnu/libdrm.so.2 (0x0000007fa55f2000)
libXfixes.so.3 => /usr/lib/aarch64-linux-gnu/libXfixes.so.3 (0x0000007fa55dd000)
libXau.so.6 => /usr/lib/aarch64-linux-gnu/libXau.so.6 (0x0000007fa55ca000)
libXdmcp.so.6 => /usr/lib/aarch64-linux-gnu/libXdmcp.so.6 (0x0000007fa55b4000)
libbsd.so.0 => /lib/aarch64-linux-gnu/libbsd.so.0 (0x0000007fa5591000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007fa5579000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007fa53ea000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007fa53c9000)
libpulse-simple.so.0 => /usr/lib/aarch64-linux-gnu/libpulse-simple.so.0 (0x0000007fa53b4000)
libcaca.so.0 => /usr/lib/aarch64-linux-gnu/libcaca.so.0 (0x0000007fa52e1000)
libv4lconvert.so.0 => /usr/lib/aarch64-linux-gnu/libv4lconvert.so.0 (0x0000007fa525c000)
libjson-c.so.2 => /lib/aarch64-linux-gnu/libjson-c.so.2 (0x0000007fa5241000)
libpulsecommon-8.0.so => /usr/lib/aarch64-linux-gnu/pulseaudio/libpulsecommon-8.0.so (0x0000007fa51cb000)
libdbus-1.so.3 => /lib/aarch64-linux-gnu/libdbus-1.so.3 (0x0000007fa5179000)
libslang.so.2 => /lib/aarch64-linux-gnu/libslang.so.2 (0x0000007fa4fdf000)
libncursesw.so.5 => /lib/aarch64-linux-gnu/libncursesw.so.5 (0x0000007fa4fa5000)
libtinfo.so.5 => /lib/aarch64-linux-gnu/libtinfo.so.5 (0x0000007fa4f6f000)
libjpeg.so.8 => /usr/lib/aarch64-linux-gnu/libjpeg.so.8 (0x0000007fa4f28000)
libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000007fa4ea5000)
libwrap.so.0 => /lib/aarch64-linux-gnu/libwrap.so.0 (0x0000007fa4e8c000)
libsndfile.so.1 => /usr/lib/aarch64-linux-gnu/libsndfile.so.1 (0x0000007fa4e22000)
libasyncns.so.0 => /usr/lib/aarch64-linux-gnu/libasyncns.so.0 (0x0000007fa4e0b000)
libselinux.so.1 => /lib/aarch64-linux-gnu/libselinux.so.1 (0x0000007fa4dde000)
libgcrypt.so.20 => /lib/aarch64-linux-gnu/libgcrypt.so.20 (0x0000007fa4d44000)
libnsl.so.1 => /lib/aarch64-linux-gnu/libnsl.so.1 (0x0000007fa4d1f000)
libFLAC.so.8 => /usr/lib/aarch64-linux-gnu/libFLAC.so.8 (0x0000007fa4cbf000)
libvorbisenc.so.2 => /usr/lib/aarch64-linux-gnu/libvorbisenc.so.2 (0x0000007fa4c0f000)
libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x0000007fa4bea000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007fa4b79000)
libgpg-error.so.0 => /lib/aarch64-linux-gnu/libgpg-error.so.0 (0x0000007fa4b57000)
libogg.so.0 => /usr/lib/aarch64-linux-gnu/libogg.so.0 (0x0000007fa4b40000)
libvorbis.so.0 => /usr/lib/aarch64-linux-gnu/libvorbis.so.0 (0x0000007fa4b0a000)
You could also try to install some dev packages:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
and also, can you try this and write down the results (backup your SD CARD before)?
sudo apt-get install libopencv-dev python-opencv