• Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System pentium4
  • Severity Critical
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by Ross Thomas - 16.05.2021
Last edited by Andreas Baumann - 16.05.2021

FS#191 - mpv links against libsrt.so.1 which does not exist

$ pacman -Qs mpv
local/mpv 1:0.33.1-1.0
    a free, open source, and cross-platform media player
$ pacman -Qs srt
local/srt 1.4.3-1.0
    Secure Reliable Transport library
$ pacman -Fl srt | grep libsrt
srt usr/lib/libsrt.so
srt usr/lib/libsrt.so.1.4
srt usr/lib/libsrt.so.1.4.3
$ mpv
mpv: error while loading shared libraries: libsrt.so.1: cannot open shared object file: No such file or directory
$ ldd /usr/bin/mpv | grep srt
	libsrt.so.1 => not found
$ sudo ln -s /usr/lib/libsrt.so.1.4.3 /usr/lib/libsrt.so.1
$ mpv --version
mpv 0.33.1-dirty Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
FFmpeg library versions:
   libavutil       56.51.100
   libavcodec      58.91.100
   libavformat     58.45.100
   libswscale      5.7.100
   libavfilter     7.85.100
   libswresample   3.7.100
FFmpeg version: n4.3.2

$ ldd /usr/bin/mpv | grep srt
	libsrt.so.1 => /usr/lib/libsrt.so.1 (0xb2a54000)

Running ldconfig does not create the missing symlink.

Closed by  Andreas Baumann
16.05.2021 06:25
Reason for closing:  Duplicate
Ross Thomas commented on 16.05.2021 02:41

Looking more closely I think I see that it's not mpv itself which links to libsrt.so.1, but stable ffmpeg. It appears testing ffmpeg links against libsrt.so.1.4, which is present in stable.

Ross Thomas commented on 16.05.2021 03:29

Here's the upstream change which got rid of libsrt.so.1:

Made SRT versioned SO named with major and minor #1741

And a thread on r/archlinux about it:

Applications linking against 'libsrt.so.1' no longer start

My thinking is that it's a synchronization issue between arch64 and arch32 stable: srt was upgraded but ffmpeg is not yet rebuilt.

Ross Thomas commented on 16.05.2021 04:02

I've installed ffmpeg from testing and can confirm it correctly links against libsrt.so.1.4:

$ ldd /usr/bin/ffmpeg | grep libsrt

libsrt.so.1.4 => /usr/lib/libsrt.so.1.4 (0xb4d52000)

mpv now loads successfully.

Andreas Baumann commented on 16.05.2021 06:25

lddtree usr/bin/mpv

libavformat.so.58 => /usr/lib/libavformat.so.58
    libsrt.so.1 => None


Available keyboard shortcuts


Task Details

Task Editing