[GH-ISSUE #6318] ollama.app cannot open on my macbookpro with m3 pro #50476

Closed
opened 2026-04-28 15:59:20 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @Spockkk0225 on GitHub (Aug 12, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6318

What is the issue?

environment: macbook pro, m3 pro, 18gb memory, Sonoma 14.4.1

the ollama.app cannot be opened with double click
it reports segmentation fault when I execute it in terminal

>>> /Applications/Ollama.app/Contents/MacOS/ollama
<<< segmentation fault /Applications/Ollama.app/Contents/MacOS/ollama

截屏2024-08-12 13 07 49

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.3.4

Originally created by @Spockkk0225 on GitHub (Aug 12, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6318 ### What is the issue? environment: macbook pro, m3 pro, 18gb memory, Sonoma 14.4.1 the ollama.app cannot be opened with double click it reports segmentation fault when I execute it in terminal \>\>\> /Applications/Ollama.app/Contents/MacOS/ollama <<< segmentation fault /Applications/Ollama.app/Contents/MacOS/ollama <img width="523" alt="截屏2024-08-12 13 07 49" src="https://github.com/user-attachments/assets/b7b0d4c3-66c0-4920-b7d0-ce8d8a7e4dde"> ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.3.4
GiteaMirror added the bug label 2026-04-28 15:59:20 -05:00
Author
Owner

@MaxJa4 commented on GitHub (Aug 12, 2024):

Weird, I have exactly the same machine and everything works fine. Did you try a clean reinstall of ollama? Like deleting it entirely and then reinstalling with the newest version?

Edit: Also setting the env var OLLAMA_DEBUG=1 could help with additional info.

<!-- gh-comment-id:2283152909 --> @MaxJa4 commented on GitHub (Aug 12, 2024): Weird, I have exactly the same machine and everything works fine. Did you try a clean reinstall of ollama? Like deleting it entirely and then reinstalling with the newest version? Edit: Also setting the env var OLLAMA_DEBUG=1 could help with additional info.
Author
Owner

@Spockkk0225 commented on GitHub (Aug 12, 2024):

Weird, I have exactly the same machine and everything works fine. Did you try a clean reinstall of ollama? Like deleting it entirely and then reinstalling with the newest version?

Edit: Also setting the env var OLLAMA_DEBUG=1 could help with additional info.

Thanks for your suggestion! Instead, I use homebrew to install. I don't know why but now it works... Maybe there are some environment issues.

brew install ollama

<!-- gh-comment-id:2283211251 --> @Spockkk0225 commented on GitHub (Aug 12, 2024): > Weird, I have exactly the same machine and everything works fine. Did you try a clean reinstall of ollama? Like deleting it entirely and then reinstalling with the newest version? > > Edit: Also setting the env var OLLAMA_DEBUG=1 could help with additional info. Thanks for your suggestion! Instead, I use homebrew to install. I don't know why but now it works... Maybe there are some environment issues. > brew install ollama
Author
Owner

@igorschlum commented on GitHub (Aug 12, 2024):

@Spockkk0225 It's recommended to install Ollama with the installer downloaded from Ollama.com, as updates are then automatic. I had an issue
with updates because I installed Ollama using Homebrew.
Read issue #5619 for more details.

if you want to stay with HomeBrew, please follow those guidelines to provide logs or close the issue.

<!-- gh-comment-id:2283301315 --> @igorschlum commented on GitHub (Aug 12, 2024): @Spockkk0225 It's recommended to install Ollama with the installer downloaded from Ollama.com, as updates are then automatic. I had an issue with updates because I installed Ollama using Homebrew. Read [issue #5619](https://github.com/ollama/ollama/issues/5619) for more details. if you want to stay with HomeBrew, please follow [those guidelines](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md) to provide logs or close the issue.
Author
Owner

@FellowTraveler commented on GitHub (Aug 13, 2024):

Then Ollama should be removed from brew entirely.

<!-- gh-comment-id:2286545818 --> @FellowTraveler commented on GitHub (Aug 13, 2024): Then Ollama should be removed from brew entirely.
Author
Owner

@Spockkk0225 commented on GitHub (Aug 13, 2024):

However, I can only install Ollama with homebrew.
Application often has some unknown limitations.

<!-- gh-comment-id:2286572310 --> @Spockkk0225 commented on GitHub (Aug 13, 2024): However, I **can** only install Ollama with homebrew. Application often has some unknown limitations.
Author
Owner

@igorschlum commented on GitHub (Aug 13, 2024):

I had a problem becquée I installed Ollama with homebrew, but then switch to manual install. Ollama was well updated, but not CLI.

If Ollama is installed with homebrew, CLI is installed in standard homebrew destination folder that is not the same as where ollama install CLI.

So yes Ollama should works well with Homebrew is you stay with this installation and then use homebrew script to update it.

<!-- gh-comment-id:2286746969 --> @igorschlum commented on GitHub (Aug 13, 2024): I had a problem becquée I installed Ollama with homebrew, but then switch to manual install. Ollama was well updated, but not CLI. If Ollama is installed with homebrew, CLI is installed in standard homebrew destination folder that is not the same as where ollama install CLI. So yes Ollama should works well with Homebrew is you stay with this installation and then use homebrew script to update it.
Author
Owner

@pdevine commented on GitHub (Sep 2, 2024):

@Spockkk0225 we don't maintain the ollama application on Homebrew; I think that's done by the Homebrew folks? I'll go ahead and close the issue.

<!-- gh-comment-id:2325332921 --> @pdevine commented on GitHub (Sep 2, 2024): @Spockkk0225 we don't maintain the ollama application on Homebrew; I think that's done by the Homebrew folks? I'll go ahead and close the issue.
Author
Owner

@zhaihuayang commented on GitHub (Feb 11, 2025):

@Spockkk0225 use sudo spctl --master-disable in terminal, and then reboot your macbook, should solve your problem

<!-- gh-comment-id:2649817078 --> @zhaihuayang commented on GitHub (Feb 11, 2025): @Spockkk0225 use `sudo spctl --master-disable` in terminal, and then reboot your macbook, should solve your problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#50476