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

Windows - GCC missing libs error #36

Closed
SturdyPose opened this issue Dec 17, 2023 · 1 comment
Closed

Windows - GCC missing libs error #36

SturdyPose opened this issue Dec 17, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation windows Problems with the bindings on windows

Comments

@SturdyPose
Copy link

When I've included this package into Stack build project, I've got error : * Missing (or bad) C libraries: gcc_eh

Can we please include into documentation these steps to resolve it?

This errors occurs when haskell stack can't find gcc libs. To fix this follow these steps:

  1. Run stack exec -- pacman -Syu, stack exec -- pacman -S gcc
  2. Then "stack exec -- gcc -print-libgcc-file-name"
  3. Copy the path without libgcc.a and paste it inside extra-lib-dirs stack.yaml
Anut-py added a commit that referenced this issue Jan 14, 2024
@Anut-py Anut-py closed this as completed Jan 14, 2024
@Anut-py Anut-py added documentation Improvements or additions to documentation windows Problems with the bindings on windows labels Jan 14, 2024
@Anut-py
Copy link
Owner

Anut-py commented Jan 18, 2024

This fix is no longer necessary as of version 5.1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation windows Problems with the bindings on windows
Projects
None yet
Development

No branches or pull requests

2 participants