Skip to content

Instantly share code, notes, and snippets.

@FreeMasen
Created January 25, 2019 15:46
Show Gist options
  • Save FreeMasen/476bc2ad28f1f90f178061e40a1f0528 to your computer and use it in GitHub Desktop.
Save FreeMasen/476bc2ad28f1f90f178061e40a1f0528 to your computer and use it in GitHub Desktop.
brew install libiconv
libiconv is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have libiconv first in your PATH run:
echo 'export PATH="/usr/local/opt/libiconv/bin:$PATH"' >> ~/.bash_profile
For compilers to find libiconv you may need to set:
export LDFLAGS="-L/usr/local/opt/libiconv/lib"
export CPPFLAGS="-I/usr/local/opt/libiconv/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment