Skip to content

Conversation

@ddustin
Copy link
Collaborator

@ddustin ddustin commented Oct 30, 2025

Okay, so I think this is what happened to me:

  1. I had brew installed on my Intel Mac
  2. I got an Apple Silicon Mac
  3. I setup my new Mac by copying over Intel Mac harddrive
  4. I now have two brew's installed on my machine:
    a) /usr/local/bin/brew (for intel macs & cross-compiling)
    b) /opt/homebrew/bin/brew (for (for apple silicon)
  5. The wrong brew was in my path (a)
    Looking through our getting started docs, we seem to reference both /usr/local/... and opt/homebrew/...

Update the installation document to mac this and related issues more clear for new users who might run into this problem.

Changelog-None

Comment on lines +366 to +367
export LDFLAGS="-L/opt/homebrew/opt/sqlite/lib"
export CPPFLAGS="-I/opt/homebrew/opt/sqlite/include"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a version of this in our makefile for Apple Darwin already, so it may just work already? But builds work on my machine...so I'm scared to also take this out of the instruction set for macOS incase this somehow breaks the build for other people lol 👀

Perhaps we should be bold and take it out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Makefile feels like a better place to put this for sure 🤔

Comment on lines +454 to +457

```shell
brew install sqlite
export LDFLAGS="-L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include"
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, they will also need the openssl library. These lines can go away once #8647 gets merged in.

Copy link
Collaborator

@sangbida sangbida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome @ddustin! Thanks so much for this!

@ddustin ddustin force-pushed the ddustin/mac_install_intel branch from 3de9a7c to 4b0d918 Compare November 4, 2025 15:33
Okay, so I think this is what happened to me:
1) I had brew installed on my Intel Mac
2) I got an Apple Silicon Mac
3) I setup my new Mac by copying over Intel Mac harddrive
4) I now have two brew's installed on my machine:
  a) /usr/local/bin/brew (for intel macs & cross-compiling)
  b) /opt/homebrew/bin/brew (for (for apple silicon)
5) The wrong brew was in my path (a)
Looking through our getting started docs, we seem to reference both /usr/local/... and  opt/homebrew/...

Update the installation document to mac this and related issues more clear for new users who might run into this problem.

Changelog-None
@ddustin ddustin force-pushed the ddustin/mac_install_intel branch from 4b0d918 to 73c1e9f Compare November 5, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants