Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: pppqq on January 27, 2025, 03:21:12 PM
-
I installed ffmpeg for tinyCore vs 14.1
I get the following when try to use ffmpeg :
ffmpeg: error while loading shared libraries: libvpx.so.6: cannot open shared object file: No such file or directory
The strange thing is that it was working yesterday so maybe another package loaded it.
-
Hi pppqq
Based on your last thread, you are running armv7:
https://forum.tinycorelinux.net/index.php/topic,27508.msg177261.html#msg177261
libvpx.tcz for armv7 contains:
/usr/local/bin/vpxdec
/usr/local/bin/vpxenc
/usr/local/lib/libvpx.so
/usr/local/lib/libvpx.so.8
/usr/local/lib/libvpx.so.8.0
/usr/local/lib/libvpx.so.8.0.0
Found here:
http://tinycorelinux.net/14.x/armv7/tcz/libvpx.tcz.list
libvpx.tcz for armv6 contains:
/usr/local/bin/vpxdec
/usr/local/bin/vpxenc
/usr/local/lib/libvpx.so
/usr/local/lib/libvpx.so.6
/usr/local/lib/libvpx.so.6.2
/usr/local/lib/libvpx.so.6.2.0
Found here:
http://tinycorelinux.net/14.x/armv6/tcz/libvpx.tcz.list
The .info files show the armv7 version was updated more recently:
http://tinycorelinux.net/14.x/armv6/tcz/libvpx.tcz.info
http://tinycorelinux.net/14.x/armv7/tcz/libvpx.tcz.info
ffmpeg in both repos is the same.
-
Hi pppqq
I just checked ffmpeg for dependencies:
tc@E310:~/ffm$ readelf -d mnt/usr/local/bin/ffmpeg | grep '(NEEDED)'
0x00000001 (NEEDED) Shared library: [libavdevice.so.58]
0x00000001 (NEEDED) Shared library: [libavfilter.so.7]
0x00000001 (NEEDED) Shared library: [libavformat.so.58]
0x00000001 (NEEDED) Shared library: [libavcodec.so.58]
0x00000001 (NEEDED) Shared library: [libpostproc.so.55]
0x00000001 (NEEDED) Shared library: [libswresample.so.3]
0x00000001 (NEEDED) Shared library: [libswscale.so.5]
0x00000001 (NEEDED) Shared library: [libavutil.so.56]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.6]
It doesn't depend on libvpx, but its dependency libavcodec does:
tc@E310:~/ffm$ readelf -d mnt/usr/local/lib/libavcodec.so | grep '(NEEDED)' | grep vpx
0x00000001 (NEEDED) Shared library: [libvpx.so.6]
I suspect the libvpx might need to be rolled back.
The following dep files include libvpx:
gst-plugins-good.tcz.dep
libavcodec.tcz.dep
libvpx-dev.tcz.dep
Let's see what Juanito says.
-
In the meantime pppqq could try the statically-built ffmpeg available here:
https://www.johnvansickle.com/ffmpeg/
I believe for armv7 he would download the armhf build.
-
CPU is ARM 7
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 1
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 2
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 3
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
Hardware : BCM2835
Revision : a01041
Serial : 000000009a2dedc2
Model : Raspberry Pi 2 Model B Rev 1.1
I removed extension for libvpx and installed gst-plugins-good. This showed a download of libvpx.
looking in /usr/local/lib/ there is libvpx.so.8 but no libvpx.so.6
-
i downloaded the "John Van Sickle" static version of ffmpeg and it works out of the box !
Its about 31 Mbytes. Good tip !
-
I suspect the libvpx might need to be rolled back.
The following dep files include libvpx:
gst-plugins-good.tcz.dep
libavcodec.tcz.dep
I created a libvpx6 and adjusted gst-plugins-good.tcz.dep and libavcodec.tcz.dep to suit.
Probably the easiest thing to do is download libvpx6 from the piCore-14.x repo and adjust gst-plugins-good.tcz.dep/libavcodec.tcz.dep locally.
-
You're missing libvpx.so.6, so maybe a package got removed or its version changed. Try:
sh
tce-load -wi libvpx
or if you have another version:
sh
tce-load -wi libvpx-dev
TinyCore sometimes loses dependencies after a reboot, especially if something isn't added to onboot.lst. You can check what's installed:
sh
tce-status -i | grep vpx
Check it and let us know. :) (https://projektowanie.art)