[GH-ISSUE #277] error on macos #62156

Closed
opened 2026-05-03 07:42:16 -05:00 by GiteaMirror · 11 comments
Owner

Originally created by @Fungungun on GitHub (Aug 4, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/277

~ ollama run llama2 ABRT х base Py 13:56:30
dyld: Symbol not found: OBJC_CLASS$_MTLComputePassDescriptor
Referenced from: /usr/local/bin/ollama
Expected in: /System/Library/Frameworks/Metal.framework/Versions/A/Metal

[1] 8409 abort ollama run llama2

Originally created by @Fungungun on GitHub (Aug 4, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/277 ~ ollama run llama2 ABRT х base Py 13:56:30 dyld: Symbol not found: _OBJC_CLASS_$_MTLComputePassDescriptor Referenced from: /usr/local/bin/ollama Expected in: /System/Library/Frameworks/Metal.framework/Versions/A/Metal [1] 8409 abort ollama run llama2
GiteaMirror added the bug label 2026-05-03 07:42:16 -05:00
Author
Owner

@mxyng commented on GitHub (Aug 4, 2023):

Can you provide your system information? i.e. what version of MacOS, the type of chip (Intel or Apple Silicon), and how much memory. This information can all be found in the About This Mac windows on the top left of your UI.

<!-- gh-comment-id:1666138139 --> @mxyng commented on GitHub (Aug 4, 2023): Can you provide your system information? i.e. what version of MacOS, the type of chip (Intel or Apple Silicon), and how much memory. This information can all be found in the `About This Mac` windows on the top left of your UI.
Author
Owner

@Fungungun commented on GitHub (Aug 7, 2023):

image

<!-- gh-comment-id:1667215288 --> @Fungungun commented on GitHub (Aug 7, 2023): ![image](https://github.com/jmorganca/ollama/assets/24078180/7449e394-8b1f-4ea8-8a40-c4300c98dd3c)
Author
Owner

@helxsz commented on GitHub (Aug 9, 2023):

my os version is 11.7.8 and I encountered a similar issue.

dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /usr/local/bin/ollama
Expected in: /usr/lib/libc++.1.dylib

is it because of the OS incompatibility, any ideas how to get around in the current version?

<!-- gh-comment-id:1671053173 --> @helxsz commented on GitHub (Aug 9, 2023): my os version is 11.7.8 and I encountered a similar issue. dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv Referenced from: /usr/local/bin/ollama Expected in: /usr/lib/libc++.1.dylib is it because of the OS incompatibility, any ideas how to get around in the current version?
Author
Owner

@beckettgithub commented on GitHub (Aug 10, 2023):

I had the same issue on 10.15.7.

Screen Shot 2023-08-10 at 12 04 25 PM

Input: ollama run llama2
Output:

 dyld: Symbol not found: _OBJC_CLASS_$_MTLComputePassDescriptor
  Referenced from: /Applications/Ollama.app/Contents/Resources/ollama
  Expected in: /System/Library/Frameworks/Metal.framework/Versions/A/Metal

Fixes?

<!-- gh-comment-id:1673509932 --> @beckettgithub commented on GitHub (Aug 10, 2023): I had the same issue on 10.15.7. <img width="586" alt="Screen Shot 2023-08-10 at 12 04 25 PM" src="https://github.com/jmorganca/ollama/assets/97408285/57913c13-e8f2-4074-95ae-aebfbc9b9f8a"> Input: ` ollama run llama2` Output: ``` dyld: Symbol not found: _OBJC_CLASS_$_MTLComputePassDescriptor Referenced from: /Applications/Ollama.app/Contents/Resources/ollama Expected in: /System/Library/Frameworks/Metal.framework/Versions/A/Metal ``` Fixes?
Author
Owner

@djamshed commented on GitHub (Aug 11, 2023):

same issue on Mac v11.4

Screen Shot 2023-08-11 at 2 20 05 PM
<!-- gh-comment-id:1675193740 --> @djamshed commented on GitHub (Aug 11, 2023): same issue on Mac v11.4 <img width="571" alt="Screen Shot 2023-08-11 at 2 20 05 PM" src="https://github.com/jmorganca/ollama/assets/223121/cc2bd782-fbe1-413e-9190-45a508db29ed">
Author
Owner

@larsr commented on GitHub (Aug 17, 2023):

me too, at macOS Big Sur, 11.7.6. MacBook Air (2020), Intel Core i7

<!-- gh-comment-id:1681875718 --> @larsr commented on GitHub (Aug 17, 2023): me too, at macOS Big Sur, 11.7.6. MacBook Air (2020), Intel Core i7
Author
Owner

@felideon commented on GitHub (Aug 24, 2023):

Was experiencing the same on macOS Big Sur (11.7.8) and upgrading to Ventura (13.5.1) fixed the issue for me. Currently seeing this instead of the error:

pulling manifest
pulling 8daa9615cce3...  55% |██████████████████████████                      | (2.1/3.8 GB, 14 MB/s) [2m32s:1m59s]

Update: Yep, it works.

<!-- gh-comment-id:1692525598 --> @felideon commented on GitHub (Aug 24, 2023): Was experiencing the [same](https://github.com/jmorganca/ollama/issues/277#issuecomment-1671053173) on macOS Big Sur (11.7.8) and upgrading to Ventura (13.5.1) fixed the issue for me. Currently seeing this instead of the error: ``` pulling manifest pulling 8daa9615cce3... 55% |██████████████████████████ | (2.1/3.8 GB, 14 MB/s) [2m32s:1m59s] ``` Update: Yep, it works.
Author
Owner

@lshgdut commented on GitHub (Aug 27, 2023):

same issue on Mac 10.15.7
image

<!-- gh-comment-id:1694647586 --> @lshgdut commented on GitHub (Aug 27, 2023): same issue on Mac 10.15.7 <img width="587" alt="image" src="https://github.com/jmorganca/ollama/assets/1192527/22939a1a-2143-43a8-8dca-85fe318340b9">
Author
Owner

@dauith commented on GitHub (Aug 29, 2023):

Same situation as the original poster; the only information I can add that might be useful is that this is still happening with Ollama 0.0.16

(By "same situation", I mean really the same :) -- MacOS 10.15.7, MacBook Pro 16-inch 2019, Intel, 32 GB RAM, same Symbol not found:

$ ollama -v
dyld: Symbol not found: OBJC_CLASS$_MTLComputePassDescriptor
Referenced from: /usr/local/bin/ollama
Expected in: /System/Library/Frameworks/Metal.framework/Versions/A/Metal

Abort trap: 6

<!-- gh-comment-id:1698295426 --> @dauith commented on GitHub (Aug 29, 2023): Same situation as the original poster; the only information I can add that might be useful is that this is still happening with Ollama 0.0.16 (By "same situation", I mean really the same :) -- MacOS 10.15.7, MacBook Pro 16-inch 2019, Intel, 32 GB RAM, same Symbol not found: $ ollama -v dyld: Symbol not found: _OBJC_CLASS_$_MTLComputePassDescriptor Referenced from: /usr/local/bin/ollama Expected in: /System/Library/Frameworks/Metal.framework/Versions/A/Metal Abort trap: 6
Author
Owner

@jmorganca commented on GitHub (Sep 7, 2023):

Hi all, sorry you hit these errors!

Ollama should now work on Big Sur and later (macOS 11+ – cc @larsr @helxsz).

For folks on Catalina, would it be possible to try again and report back? We now build ollama with compatibility for older macOS versions (the 11.0 SDK) which may be compatible with Catalina. I'll close this issue for now but do feel free to re-open it if it's still an issue! 😊

<!-- gh-comment-id:1710143865 --> @jmorganca commented on GitHub (Sep 7, 2023): Hi all, sorry you hit these errors! Ollama should now work on Big Sur and later (macOS 11+ – cc @larsr @helxsz). For folks on Catalina, would it be possible to try again and report back? We now build `ollama` with compatibility for older macOS versions (the 11.0 SDK) which may be compatible with Catalina. I'll close this issue for now but do feel free to re-open it if it's still an issue! 😊
Author
Owner

@dauith commented on GitHub (Sep 7, 2023):

Just validating: it now executes in my environment (Catalina):

$ ollama --version
ollama version 0.0.18

Now to try actually running some models ;)

<!-- gh-comment-id:1710873135 --> @dauith commented on GitHub (Sep 7, 2023): Just validating: it now executes in my environment (Catalina): $ ollama --version ollama version 0.0.18 Now to try actually running some models ;)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62156