Bug#969252: libavcodec58: vcsm_init_ex not found
Package: libavcodec58
Version: 7:4.1.6-1~deb10u1+rpt1
Severity: normal
Dear Maintainer,
* What led up to the situation?
I invoked a program that uses libavcodec58
* What exactly did you do (or not do) that was effective (or
ineffective)?
examples
- ffmpeg -i <videofile>
- systemctl start minidlna
- minidlna -R
* What was the outcome of this action?
I get the following error message (in the logs or on the console depending on the program I invoke)
<program>: symbol lookup error: /usr/lib/arm-linux-gnueabihf/neon/vfp/libavcodec.so.58: undefined symbol: vcsm_init_ex
then the program stops
* What outcome did you expect instead?
I expected the programs to run smoothly ;)
* more troubleshooting
Since I couldn’t make sense of the [/neon/vfp/] path (https://packages.debian.org/search?searchon=contents&keywords=libavcodec.so.58&mode=exactfilename&suite=stable&arch=any only lists files in /usr/lib/arm-linux-gnueabihf/, I removed it and got the same result.
Then I recompiled from source (apt source ffmpeg, then compile with options below) and did not get any more luck.
ALSO: build fails when adding --enable-rpi to below configuration options, with first error being
libavdevice/rpi_vout.c:98:16: error: ‘MMAL_ENCODING_YUV10_COL’ undeclared (first use in this function); did you mean ‘MMAL_ENCODING_YV12’?
return MMAL_ENCODING_YUV10_COL;
^~~~~~~~~~~~~~~~~~~~~~~
MMAL_ENCODING_YV12
BELOW
- reportbug output
— cpuinfo
- recompile options
** REPORTBUG OUTPUT
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Architecture: armv7l
Kernel: Linux 4.9.0-6-rpi2 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libavcodec58 depends on:
ii libaom0 1.0.0-3
ii libavutil56 7:4.1.6-1~deb10u1+rpt1
ii libc6 2.28-10+rpi1
ii libcairo2 1.16.0-4+rpt1
ii libcodec2-0.8.1 0.8.1-2
ii libglib2.0-0 2.58.3-2+deb10u2
ii libgsm1 1.0.18-2
ii liblzma5 5.2.4-1
ii libmp3lame0 3.100-2+b1
ii libopenjp2-7 2.3.0-2+deb10u1
ii libopus0 1.3-1
ii libraspberrypi0 1.20180328-1~nokernel1
ii librsvg2-2 2.44.10-2.1+rpi1
ii libshine3 3.1.1-2+b1
ii libsnappy1v5 1.1.7-1
ii libspeex1 1.2~rc1.2-1+b2
ii libswresample3 7:4.1.6-1~deb10u1+rpt1
ii libtheora0 1.1.1+dfsg.1-15
ii libtwolame0 0.3.13-4
ii libva2 2.4.0-1
ii libvorbis0a 1.3.6-2
ii libvorbisenc2 1.3.6-2
ii libvpx5 1.7.0-3+deb10u1
ii libwavpack1 5.1.0-6
ii libwebp6 0.6.1-2
ii libwebpmux3 0.6.1-2
ii libx264-155 2:0.155.2917+git0a84d98-2+rpi1
ii libx265-165 2.9-4
ii libxvidcore4 2:1.3.5-1
ii libzvbi0 0.2.35-16
ii zlib1g 1:1.2.11.dfsg-1
libavcodec58 recommends no packages.
libavcodec58 suggests no packages.
-- no debconf information
** CPUINFO
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp thumbee 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 : 38.40
Features : half thumb fastmult vfp edsp thumbee 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 : 38.40
Features : half thumb fastmult vfp edsp thumbee 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 : 38.40
Features : half thumb fastmult vfp edsp thumbee 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 : 00000000fbd62671
** RECOMPILE OPTIONS
./configure --prefix=/usr --enable-gpl --enable-libx264 --disable-programs --enable-mmal --enable-omx --enable-omx-rpi --enable-decoder=h264_mmal --enable-decoder=mpeg2_mmal --enable-encoder=h264_omx --enable-encoder=h264_omx --enable-nonfree --enable-gpl --enable-avresample --enable-shared --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libzvbi --enable-shared --disable-static --disable-doc
Reply to: