-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't install using go in m1 mac #98
Comments
I'd try:
CGO_CFLAGS="-I/opt/homebrew/Cellar/libmagic/5.44/include"
…On 22 August 2023 17:25:17 GMT+03:00, Kavinda L Jayarathna ***@***.***> wrote:
>
I tried this on my m1 mac and didn't work for me..please anyone can help to fix this?
```
CGO_CFLAGS="-I/opt/homebrew/Cellar/libmagic/5.44/include/magic.h" go install ***@***.***
# github.com/doronbehar/magicmime
***@***.***/magicmime.go:28:11: fatal error: 'magic.h' file not found
#include <magic.h>
^~~~~~~~~
1 error generated.
```
_Originally posted by @kavindalj in #6 (comment)
--
Reply to this email directly or view it on GitHub:
#98
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
It gets the same results too. I can't find what I did wrong |
|
I tried this on my m1 mac and didn't work for me..please anyone can help to fix this?
Originally posted by @kavindalj in #6 (comment)
The text was updated successfully, but these errors were encountered: