Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... cabal: Could not resolve dependencies: [__0] next goal: sdl2 (user goal) [__0] rejecting: sdl2-2.5.2.0 (conflict: pkg-config package sdl2>=2.0.6, not found in the pkg-config database) [__0] rejecting: sdl2-2.5.1.0, sdl2-2.5.0.0, sdl2-2.4.1.0, sdl2-2.4.0.1, sdl2-2.4.0, sdl2-2.3.0, sdl2-2.2.0, sdl2-2.1.3.1, sdl2-2.1.3, sdl2-2.1.2.1, sdl2-2.1.2, sdl2-2.1.1, sdl2-2.1.0, sdl2-2.0.0, sdl2-1.3.1, sdl2-1.3.0, sdl2-1.2.0, sdl2-1.1.3, sdl2-1.1.2, sdl2-1.1.1, sdl2-1.1.0, sdl2-1.0.2, sdl2-1.0.1, sdl2-1.0.0, sdl2-2.3.0.1 (constraint from user target requires ==2.5.2.0) [__0] fail (backjumping, conflict set: sdl2) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: sdl2