After Homebrew installs
To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm/lib/c++"
llvm is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have llvm first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
For compilers to find llvm you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
poppler-qt5 is keg-only, which means it was not symlinked into /opt/homebrew,
because it conflicts with poppler.
If you need to have poppler-qt5 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/poppler-qt5/bin:$PATH"' >> ~/.zshrc
For compilers to find poppler-qt5 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/poppler-qt5/lib"
export CPPFLAGS="-I/opt/homebrew/opt/poppler-qt5/include"
For pkg-config to find poppler-qt5 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/poppler-qt5/lib/pkgconfig"
export PKG_CONFIG_PATH="/opt/homebrew/opt/poppler-qt5/share/pkgconfig"
Commentaires
Enregistrer un commentaire