Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: lapack-0.1 (user goal) [__1] trying: netlib-ffi-0.1 (dependency of lapack) [__2] next goal: lapack-ffi (dependency of lapack) [__2] rejecting: lapack-ffi-0.0.2 (conflict: pkg-config package lapack-any, not found in the pkg-config database) [__2] rejecting: lapack-ffi-0.0.1 (conflict: netlib-ffi==0.1, lapack-ffi => netlib-ffi>=0.0 && <0.1) [__2] rejecting: lapack-ffi-0.0 (conflict: lapack => lapack-ffi>=0.0.1 && <0.1) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: lapack, lapack-ffi, netlib-ffi