Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires 'pkg-config' during installation #44

Open
oluckyman opened this issue Jun 19, 2018 · 3 comments
Open

Requires 'pkg-config' during installation #44

oluckyman opened this issue Jun 19, 2018 · 3 comments

Comments

@oluckyman
Copy link

I'm newbie in haskell development.
I've made new stack project and added these lines:

# stack.yaml

extra-deps:
- ffmpeg-light-0.12.1.0
# package.yaml

dependencies:
- ffmpeg-light

then I ran:

stack build

and got this error:

Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2: The program 'pkg-config' version >=0.9.0 is required but it could not be found.

I'm on macOS 10.13.4

@Krantz-XRF
Copy link

I know this is an old post, but in case anyone may need this information......

Basically, you need pkg-config to track dependencies on external C libraries. I believe you could install pkg-config from your package manager.

@jcberentsen
Copy link

I just encountered this on macOS (Catalina)
Doing brew install pkg-config solved it for me.

@acowley
Copy link
Owner

acowley commented Apr 23, 2020

Is there something we can do to the package definition to make this easier for folks, or is this a broader question of sorting out Haskell tooling in a development environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants