Using libraries installed by brew with clang #3792
Unanswered
nwbreneman
asked this question in
Everyday usage
Replies: 1 comment 1 reply
-
Did you ever get this to work? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
As a new brew user on macOS (and a new macOS user), I installed
libssh
andlibssh2
to fulfill requirements for the Python packageansible-pylibssh
. The package installation failed during a clang build due to not being able to findlibssh
installed via brew. I was able to resolve by exporting the CFLAGS variable with the correct paths:CFLAGS=-I /opt/homebrew/include -I ext -L /opt/homebrew/lib -lssh
. I'm just wondering if this is expected behavior for using such dependencies from brew or if it's considered a bug. Thanks!Here's the clang error for reference:
Beta Was this translation helpful? Give feedback.
All reactions