Skip to content

I updated brew and got the following after restarting Emacs #118

Closed Answered by NatHarari
NatHarari asked this question in Q&A
Discussion options

You must be logged in to vote

I got it to work. Here was the issue and here is the solution:
Jinx relies on Enchant, and Enchant was updated. Brew installs directories with a hierarchy which includes the latest version number, which throws off the installer. Here was the solution to the problem:

gcc -I. -I/opt/homebrew/Cellar/enchant/2.6.2/include/enchant-2 -O2 -Wall -Wextra -fPIC -shared -o jinx-mod.dylib jinx-mod.c /opt/homebrew/Cellar/enchant/2.6.2/lib/libenchant-2.dylib

You will also want your PATHS correctly done in your .zshrc or your .bashrc. Here are mine:

export LIBRARY_PATH="/opt/homebrew/opt/enchant/lib/:$LIBRARY_PATH"
export C_INCLUDE_PATH="/opt/homebrew/Cellar/enchant/2.6.2/include/enchant-2:$C_INCLUDE_PA…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@NatHarari
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by NatHarari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #117 on November 13, 2023 16:47.