libsdl-dev is deprecated in ubuntu jammy
On Ubuntu Jammy (22.04), as specified in Linux installation instructions, running apt install libsdl-dev
results in:
Package libsdl-dev is a virtual package provided by:
libsdl1.2-dev 1.2.15+dfsg2-6
libsdl1.2-compat-dev 1.2.52-3
You should explicitly select one to install.
See https://packages.ubuntu.com/jammy/libsdl-dev for more on the virtual package.
While selecting libsdl1.2-dev
or libsdl1.2-compat-dev
works, the root of the issue is that libsdl is deprecated in favor of libsdl2.
We should aim to transition to libsdl2-dev
.
Edited by ijnek