SDL2 on Ubuntu 14.04 (PThreads)

Hello!

I’ve compiled and used sdl2 numerous times but I’ve recently been trying to install it on a machine running Ubuntu 14.04 and it cannot seem to find pthreads. I’ve tried installing the latest stable release, grabbing the latest code from mercurial, and installing sdl2 from the ubuntu repos but they all fail when it comes to finding/using pthreads.

Also I tried running a basic app without pthreads and it fails saying:

SDL_INIT ERROR: SDL not built with thread support

Has anyone else tried using/install SDL2 on Ubuntu 14.04 or can help with my issue?

Thanks!