Hi, and yes, either the sdl2-devel is missing or the linker can't find the appr. libraries. What Linux do you use? I assume it's an Ubuntu distro, so I'd rather recommend to use the official libraries from your package manager.
sdl2libs.jpg