WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libvpx.so.6 missing  (Read 219 times)

Offline pppqq

  • Newbie
  • *
  • Posts: 13
libvpx.so.6 missing
« 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 :

Quote
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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11788
Re: libvpx.so.6 missing
« Reply #1 on: January 27, 2025, 04:09:06 PM »
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:
Code: [Select]
/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:
Code: [Select]
/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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11788
Re: libvpx.so.6 missing
« Reply #2 on: January 27, 2025, 05:13:54 PM »
Hi pppqq
I just checked ffmpeg for dependencies:
Code: [Select]
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:
Code: [Select]
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.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1538
Re: libvpx.so.6 missing
« Reply #3 on: January 27, 2025, 06:05:36 PM »
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.

Offline pppqq

  • Newbie
  • *
  • Posts: 13
Re: libvpx.so.6 missing
« Reply #4 on: January 28, 2025, 04:38:00 AM »
CPU is ARM 7
Code: [Select]
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

Offline pppqq

  • Newbie
  • *
  • Posts: 13
Re: libvpx.so.6 missing
« Reply #5 on: January 28, 2025, 05:42:26 AM »
i downloaded the "John Van Sickle" static version of ffmpeg and it works out of the box !
Its about 31 Mbytes. Good tip !

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14904
Re: libvpx.so.6 missing
« Reply #6 on: January 28, 2025, 07:35:24 AM »
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.