我目前正在尝试让Haskell的SDL2在Ubuntu上工作,但在尝试使用cabal安装SDL2时出现以下错误
cabal: The pkg-config package sdl2 version >=2.0.3 is required but the version
installed on the system is version 2.0.2
Failed to install sdl2-1.2.0
cabal: Error: some packages failed to install:
sdl2-1.2.0 failed during the configure step. The exception was:
ExitFailure 1
所以看来我确实有pkg-config而且我确实有sdl2但我似乎已经下载了错误版本的libsdl-dev?我有最新版本,所以有没有办法升级pkg-config文件?