Skip to content

Installing Smooch on macOS: Missing C libraries #51

Open
@aklap

Description

@aklap

Do you want to request a feature or report a bug?

Report a bug.

What is the current behavior?

When running stack build on macOS, the build exits with the error message:

* Missing C libraries: icuuc, icui18n, icudata

What is the expected behavior?

We expect that stack build should build Smooch without error.

Which browser / OS are affected by this issue? (An isolated way to reproduce the bug)

OS: macOS

This looks like a macOS and Mac OS X specific issue when trying to build a Haskell app for the first time (see here, for a similar issue with a Haskell app).

stack install text-icu --extra-lib-dirs=/usr/local/opt/icu4c/lib --extra-include-dirs=/usr/local/opt/icu4c/include resolves this. It would be helpful to include this as part of the installation instructions in the sections re: stack build command (and probably with an explanation of why this happens and what this command does that fixes the build process), maybe even think about adding a troubleshooting section in the contributing doc?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions