Skip to content

Commit

Permalink
Update install.rst
Browse files Browse the repository at this point in the history
Add workaround for Apple Silicon installation in doc.
  • Loading branch information
undo76 authored and dmerejkowsky committed Nov 8, 2021
1 parent 5d044ee commit ad7c4cc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website/content/install.rst
Expand Up @@ -53,6 +53,18 @@ The quickest way is to install `libenchant` using `Homebrew <https://brew.sh/>`_
brew update
brew install enchant
If you are using Apple Silicon and it displays this error:
``The 'enchant' C library was not found and maybe needs to be installed.``,
as a workaround, you may need to install an x86_64 (Intel) version of `enchant`.
In order to do so, you need to install the x86_64 version of Homebrew in
``/usr/local/`` and then use this version to install the corresponding
version of `enchant`.

.. code-block:: bash
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
arch -x86_64 /usr/local/bin/brew install enchant
If you are using `MacPorts <https://www.macports.org/>`_ you can also
install the `enchant2 <https://github.com/macports/macports-
Expand Down

0 comments on commit ad7c4cc

Please sign in to comment.