Ffmpeg unavailable on linux even though it's installed

I’m on Arch linux and I for some reason can not use ffmpeg library. I even tried to set it manually through settings but it still does not work.
here’s the output of LD_DEBUG=libs,files audacity in case it’s needed

I have the same problem with Audacity 3.7.8 on Fedora Workstation 44 with FFMPEG binaries by BtbN. Initially, I thought the problem was related to the latest BtbN release and the GCC compiler used to compile them. So I removed it and after some trial and error, I noticed that Audacity fails to set any FFMPEG libraries, even the ones installed/updated by Fedora itself (currently, v8.1.2 compiled with GCC 16).

FFMPEG v8.1.2 libraries (Fedora default):

libavutil      60. 26.102 / 60. 26.102
libavcodec     62. 28.102 / 62. 28.102
libavformat    62. 12.102 / 62. 12.102
libavdevice    62.  3.102 / 62.  3.102
libavfilter    11. 14.102 / 11. 14.102
libswscale      9.  5.102 /  9.  5.102
libswresample   6.  3.102 /  6.  3.102


There’s 2 potential issues here:

It’d be helpful to know if making a symlink to an unversioned file name resolves things