SDL takes me back. I was writing my own game engine once upon a time with SDL.
I was trying to make a list of the files required to play. SDL, mixer, image, ttf, libwebp, libmad. There's a specific version of gcc that it required and when I installed gcc, it broke my OS. It's okay because it's just a virtual machine, but I don't have a full list of the packages required because I can't even cat the file anymore:
cat file.txt
cat: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by cat)
I'll see if I have time to try this on my real linux box this weekend.