[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004406: ffmpeg: symbol lookup error undefined symbol drmModeGetFB2



Hello again.

Hmm. I'm guessing all you need is this.

$ ldd -r /usr/lib/x86_64-linux-gnu/libavdevice.so.58 | grep drm
libdrm.so.2 => /opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fdb50390000)
libva-drm.so.2 => /usr/lib/x86_64-linux-gnu/libva-drm.so.2 (0x00007fdb49758000)
undefined symbol: drmModeGetFB2 (/usr/lib/x86_64-linux-gnu/libavdevice.so.58)
undefined symbol: drmModeFreeFB2 (/usr/lib/x86_64-linux-gnu/libavdevice.so.58)

Le jeu. 27 janv. 2022 à 16:33, Sebastian Ramacher <sramacher@debian.org> a écrit :
On 2022-01-26 19:34:51 -0500, Le Déchaîné wrote:
> $ echo $LD_LIBRARY_PATH
> (not set)
>
> $ locate libdrm.so
> /opt/amdgpu/lib/i386-linux-gnu/libdrm.so.2
> /opt/amdgpu/lib/i386-linux-gnu/libdrm.so.2.4.0
> /opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so.2
> /opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so.2.4.0
> /usr/lib/i386-linux-gnu/libdrm.so.2
> /usr/lib/i386-linux-gnu/libdrm.so.2.4.0
> /usr/lib/x86_64-linux-gnu/libdrm.so
> /usr/lib/x86_64-linux-gnu/libdrm.so.2
> /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0

And if you run lddr -r /usr/lib/x86_64-linux-gnu/libavdevice.so.58,
which of those is useD?

Cheers

> (except /var/lib/flatpaks (augh!) and some steamapps/SteamLinuxRuntime
> files)
>
> Le mer. 26 janv. 2022 à 18:28, Sebastian Ramacher <sramacher@debian.org> a
> écrit :
>
> > Control: tags -1 moreinfo
> >
> > On 2022-01-26 18:08:00 -0500, Jimmy K. wrote:
> > > Package: ffmpeg
> > > Version: 7:4.4.1-3
> > > Severity: important
> > > X-Debbugs-Cc: ledechaine@gmail.com
> > >
> > > Dear Maintainer,
> > > this version of ffmpeg has been useless on my system, for many months.
> > >
> > > $ ffmpeg
> > > ffmpeg: symbol lookup error:
> > /usr/lib/x86_64-linux-gnu/libavdevice.so.58: undefined symbol: drmModeGetFB2
> > >
> > > -Downgrading with sudo apt-get install ffmpeg=7:4.3.3-0+deb11u1 fixes
> > it, but
> > > it's too late for that, apparently.
> > > -BUT getting the source from github and "configure, make, sudo make
> > install",
> > > worked. I don't know what's different.
> >
> > Since libavdevice58 depends on a recent enough version of libdrm2, I
> > suppose that you have an old version of libdrm.so.2 somewhere in
> > /usr/local/lib or your LD_LIBRARY_PATH. Can you confirm that?
> >
> > Cheers
> >
> > >
> > > -- System Information:
> > > Debian Release: bookworm/sid
> > >   APT prefers stable-updates
> > >   APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
> > > Architecture: amd64 (x86_64)
> > > Foreign Architectures: i386
> > >
> > > Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
> > > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> > > Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8),
> > LANGUAGE=fr_CA:fr
> > > Shell: /bin/sh linked to /bin/dash
> > > Init: systemd (via /run/systemd/system)
> > > LSM: AppArmor: enabled
> > >
> > > Versions of packages ffmpeg depends on:
> > > ii  libavcodec58    7:4.4.1-3
> > > ii  libavdevice58   7:4.4.1-3
> > > ii  libavfilter7    7:4.4.1-3
> > > ii  libavformat58   7:4.4.1-3
> > > ii  libavutil56     7:4.4.1-3
> > > ii  libc6           2.33-3
> > > ii  libpostproc55   7:4.4.1-3
> > > ii  libsdl2-2.0-0   2.0.20+dfsg-2
> > > ii  libswresample3  7:4.4.1-3
> > > ii  libswscale5     7:4.4.1-3
> > >
> > > ffmpeg recommends no packages.
> > >
> > > Versions of packages ffmpeg suggests:
> > > pn  ffmpeg-doc  <none>
> > >
> > > -- no debconf information
> > >
> >
> > --
> > Sebastian Ramacher
> >

--
Sebastian Ramacher

Reply to: