title: SDL2 IMG_Load "unsupported image format" error message?
body: <p>I'm trying to load a png image. libsdl2-dev and libsdl2-image-dev packages have been installed and I'm including SDL2/SDL_image.h. IMG_Init is working without error, but IMG_Load errors.</p>
  
  <p>On my desktop PC (Ubuntu) it works (loads png into SDL_Surface), but it looks like my laptop (also Ubuntu) is not linking the required png library.</p>
  
  <p>ldd (Desktop) libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007ff58db3c000)</p>
  
  <p>ldd (laptop) No libpng lib</p>
  
  <p>Even though both these machines have this library in the same location.</p>
  
  <p>How can I figure out why it is not getting linked?</p>
  
  <p><strong>Edit:</strong> IMAGE_Init(IMG_INIT_PNG) is causing error "PNG Images are not supported"</p>