Audacity 3.1.3 only supports an outdated version of libavformat

I noticed that when when attempting to locate FFMPEG (libavformat,so) it wouldn’t apply it when I am clearly in the correct folder. Looking at the disgnostic logs, it shows:

06:03:48 AM: Looking for FFmpeg libraries...
06:04:36 AM: User-specified path = '/usr/lib'
06:04:36 AM: Error: Failed to load shared library 'libavformat.so.58': libavformat.so.58: cannot open shared object file: No such file or directory
06:04:36 AM: Error: Failed to load libavformat.so.58 ((null))
06:04:36 AM: Error: Failed to load shared library 'libavformat.so.57': libavformat.so.57: cannot open shared object file: No such file or directory
06:04:36 AM: Error: Failed to load libavformat.so.57 ((null))
06:04:36 AM: Error: Failed to load shared library 'libavformat.so.55': libavformat.so.55: cannot open shared object file: No such file or directory
06:04:36 AM: Error: Failed to load libavformat.so.55 ((null))
06:04:36 AM: Error: User-specified path does not contain FFmpeg libraries.

and the folder it’s looking in contains:
Screenshot_2022-08-11_06-18-36.png

ONE THING I FORGOT TO MENTION: This issue is entirely unrelated to the previous issue i posted and was tested with a separate instance of Audacity that somehow works on my system. I don’t know either.

FFMPEG 5.0/avformat 59 was released after Audacity 3.1.3. Use the Audacity 3.2 alpha for FFMPEG 5.0 support, or FFMPEG 4.4 for Audacity 3.1.3 support.

ah, makes sense