[GH-ISSUE #14330] WARN MLX dynamic library not available #55834

Closed
opened 2026-04-29 09:47:21 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @qi-yu-qi on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14330

What is the issue?

There is a WARN from first time run ollama installed by Homebrew in Macbook M1.

2026/02/20 16:26:34 WARN MLX dynamic library not available error="failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.16.2/bin /Users/*****/build/lib/ollama])"

Below is all dependencies installed with ollama.

➜  ~ brew list
==> Formulae
ca-certificates	mlx		mpdecimal	openssl@3	readline	xz
lz4		mlx-c		ollama		python@3.14	sqlite		zstd

I have tried 2 times in pure macOS(26.3).

Relevant log output

➜  ~ brew install ollama      
==> Fetching downloads for: ollama
✔︎ Bottle Manifest ollama (0.16.2)                                                            Downloaded   12.7KB/ 12.7KB
✔︎ Bottle Manifest mpdecimal (4.0.1)                                                          Downloaded   11.9KB/ 11.9KB
✔︎ Bottle Manifest ca-certificates (2025-12-02)                                               Downloaded    2.0KB/  2.0KB
✔︎ Bottle Manifest openssl@3 (3.6.1)                                                          Downloaded   11.8KB/ 11.8KB
✔︎ Bottle Manifest sqlite (3.51.2_1)                                                          Downloaded   11.5KB/ 11.5KB
✔︎ Bottle Manifest readline (8.3.3)                                                           Downloaded   10.0KB/ 10.0KB
✔︎ Bottle Manifest xz (5.8.2)                                                                 Downloaded   11.8KB/ 11.8KB
✔︎ Bottle Manifest zstd (1.5.7_1)                                                             Downloaded   13.2KB/ 13.2KB
✔︎ Bottle Manifest lz4 (1.10.0)                                                               Downloaded   13.8KB/ 13.8KB
✔︎ Bottle Manifest mlx (0.30.5)                                                               Downloaded    8.4KB/  8.4KB
✔︎ Bottle mpdecimal (4.0.1)                                                                   Downloaded  186.2KB/186.2KB
✔︎ Bottle Manifest mlx-c (0.5.0)                                                              Downloaded    8.4KB/  8.4KB
✔︎ Bottle Manifest python@3.14 (3.14.3_1)                                                     Downloaded   29.5KB/ 29.5KB
✔︎ Bottle ca-certificates (2025-12-02)                                                        Downloaded  131.8KB/131.8KB
✔︎ Bottle lz4 (1.10.0)                                                                        Downloaded  279.7KB/279.7KB
✔︎ Bottle readline (8.3.3)                                                                    Downloaded  757.9KB/757.9KB
✔︎ Bottle xz (5.8.2)                                                                          Downloaded  764.3KB/764.3KB
✔︎ Bottle zstd (1.5.7_1)                                                                      Downloaded  793.6KB/793.6KB
✔︎ Bottle mlx-c (0.5.0)                                                                       Downloaded  172.7KB/172.7KB
✔︎ Bottle sqlite (3.51.2_1)                                                                   Downloaded    2.4MB/  2.4MB
✔︎ Bottle openssl@3 (3.6.1)                                                                   Downloaded   10.9MB/ 10.9MB
✔︎ Bottle ollama (0.16.2)                                                                     Downloaded   12.0MB/ 12.0MB
✔︎ Bottle python@3.14 (3.14.3_1)                                                              Downloaded   19.1MB/ 19.1MB
✔︎ Bottle mlx (0.30.5)                                                                        Downloaded   44.9MB/ 44.9MB
==> Installing dependencies for ollama: mpdecimal, ca-certificates, openssl@3, readline, sqlite, xz, lz4, zstd, python@3.14, mlx and mlx-c
==> Installing ollama dependency: mpdecimal
==> Pouring mpdecimal--4.0.1.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/mpdecimal/4.0.1: 22 files, 660.9KB
==> Installing ollama dependency: ca-certificates
==> Pouring ca-certificates--2025-12-02.all.bottle.1.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺  /opt/homebrew/Cellar/ca-certificates/2025-12-02: 4 files, 236.4KB
==> Installing ollama dependency: openssl@3
==> Pouring openssl@3--3.6.1.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/openssl@3/3.6.1: 7,624 files, 37.6MB
==> Installing ollama dependency: readline
==> Pouring readline--8.3.3.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/readline/8.3.3: 56 files, 2.7MB
==> Installing ollama dependency: sqlite
==> Pouring sqlite--3.51.2_1.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sqlite/3.51.2_1: 13 files, 5.2MB
==> Installing ollama dependency: xz
==> Pouring xz--5.8.2.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/xz/5.8.2: 96 files, 2.7MB
==> Installing ollama dependency: lz4
==> Pouring lz4--1.10.0.arm64_tahoe.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 768.9KB
==> Installing ollama dependency: zstd
==> Pouring zstd--1.5.7_1.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/zstd/1.5.7_1: 32 files, 2.3MB
==> Installing ollama dependency: python@3.14
==> Pouring python@3.14--3.14.3_1.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/python@3.14/3.14.3_1: 3,764 files, 75.3MB
==> Installing ollama dependency: mlx
==> Pouring mlx--0.30.5.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/mlx/0.30.5: 411 files, 148.9MB
==> Installing ollama dependency: mlx-c
==> Pouring mlx-c--0.5.0.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/mlx-c/0.5.0: 39 files, 814.3KB
==> Installing ollama
==> Pouring ollama--0.16.2.arm64_tahoe.bottle.tar.gz
==> Caveats
To start ollama now and restart at login:
  brew services start ollama
Or, if you don't want/need a background service you can just run:
  OLLAMA_FLASH_ATTENTION="1" OLLAMA_KV_CACHE_TYPE="q8_0" /opt/homebrew/opt/ollama/bin/ollama serve
==> Summary
🍺  /opt/homebrew/Cellar/ollama/0.16.2: 8 files, 33.7MB
==> Running `brew cleanup ollama`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Caveats
==> ollama
To start ollama now and restart at login:
  brew services start ollama
Or, if you don't want/need a background service you can just run:
  OLLAMA_FLASH_ATTENTION="1" OLLAMA_KV_CACHE_TYPE="q8_0" /opt/homebrew/opt/ollama/bin/ollama serve
➜  ~ ollama
2026/02/20 16:26:34 WARN MLX dynamic library not available error="failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.16.2/bin /Users/qiyuqi/build/lib/ollama])"
➜  ~ brew list
==> Formulae
ca-certificates	mlx		mpdecimal	openssl@3	readline	xz
lz4		mlx-c		ollama		python@3.14	sqlite		zstd

==> Casks
➜  ~

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.16.2

Originally created by @qi-yu-qi on GitHub (Feb 20, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14330 ### What is the issue? There is a WARN from first time run ollama installed by Homebrew in Macbook M1. --- 2026/02/20 16:26:34 WARN MLX dynamic library not available error="failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.16.2/bin /Users/*****/build/lib/ollama])" --- Below is all dependencies installed with ollama. ``` ➜ ~ brew list ==> Formulae ca-certificates mlx mpdecimal openssl@3 readline xz lz4 mlx-c ollama python@3.14 sqlite zstd ``` I have tried 2 times in pure macOS(26.3). ### Relevant log output ```shell ➜ ~ brew install ollama ==> Fetching downloads for: ollama ✔︎ Bottle Manifest ollama (0.16.2) Downloaded 12.7KB/ 12.7KB ✔︎ Bottle Manifest mpdecimal (4.0.1) Downloaded 11.9KB/ 11.9KB ✔︎ Bottle Manifest ca-certificates (2025-12-02) Downloaded 2.0KB/ 2.0KB ✔︎ Bottle Manifest openssl@3 (3.6.1) Downloaded 11.8KB/ 11.8KB ✔︎ Bottle Manifest sqlite (3.51.2_1) Downloaded 11.5KB/ 11.5KB ✔︎ Bottle Manifest readline (8.3.3) Downloaded 10.0KB/ 10.0KB ✔︎ Bottle Manifest xz (5.8.2) Downloaded 11.8KB/ 11.8KB ✔︎ Bottle Manifest zstd (1.5.7_1) Downloaded 13.2KB/ 13.2KB ✔︎ Bottle Manifest lz4 (1.10.0) Downloaded 13.8KB/ 13.8KB ✔︎ Bottle Manifest mlx (0.30.5) Downloaded 8.4KB/ 8.4KB ✔︎ Bottle mpdecimal (4.0.1) Downloaded 186.2KB/186.2KB ✔︎ Bottle Manifest mlx-c (0.5.0) Downloaded 8.4KB/ 8.4KB ✔︎ Bottle Manifest python@3.14 (3.14.3_1) Downloaded 29.5KB/ 29.5KB ✔︎ Bottle ca-certificates (2025-12-02) Downloaded 131.8KB/131.8KB ✔︎ Bottle lz4 (1.10.0) Downloaded 279.7KB/279.7KB ✔︎ Bottle readline (8.3.3) Downloaded 757.9KB/757.9KB ✔︎ Bottle xz (5.8.2) Downloaded 764.3KB/764.3KB ✔︎ Bottle zstd (1.5.7_1) Downloaded 793.6KB/793.6KB ✔︎ Bottle mlx-c (0.5.0) Downloaded 172.7KB/172.7KB ✔︎ Bottle sqlite (3.51.2_1) Downloaded 2.4MB/ 2.4MB ✔︎ Bottle openssl@3 (3.6.1) Downloaded 10.9MB/ 10.9MB ✔︎ Bottle ollama (0.16.2) Downloaded 12.0MB/ 12.0MB ✔︎ Bottle python@3.14 (3.14.3_1) Downloaded 19.1MB/ 19.1MB ✔︎ Bottle mlx (0.30.5) Downloaded 44.9MB/ 44.9MB ==> Installing dependencies for ollama: mpdecimal, ca-certificates, openssl@3, readline, sqlite, xz, lz4, zstd, python@3.14, mlx and mlx-c ==> Installing ollama dependency: mpdecimal ==> Pouring mpdecimal--4.0.1.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/mpdecimal/4.0.1: 22 files, 660.9KB ==> Installing ollama dependency: ca-certificates ==> Pouring ca-certificates--2025-12-02.all.bottle.1.tar.gz ==> Regenerating CA certificate bundle from keychain, this may take a while... 🍺 /opt/homebrew/Cellar/ca-certificates/2025-12-02: 4 files, 236.4KB ==> Installing ollama dependency: openssl@3 ==> Pouring openssl@3--3.6.1.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/openssl@3/3.6.1: 7,624 files, 37.6MB ==> Installing ollama dependency: readline ==> Pouring readline--8.3.3.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/readline/8.3.3: 56 files, 2.7MB ==> Installing ollama dependency: sqlite ==> Pouring sqlite--3.51.2_1.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/sqlite/3.51.2_1: 13 files, 5.2MB ==> Installing ollama dependency: xz ==> Pouring xz--5.8.2.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/xz/5.8.2: 96 files, 2.7MB ==> Installing ollama dependency: lz4 ==> Pouring lz4--1.10.0.arm64_tahoe.bottle.1.tar.gz 🍺 /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 768.9KB ==> Installing ollama dependency: zstd ==> Pouring zstd--1.5.7_1.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/zstd/1.5.7_1: 32 files, 2.3MB ==> Installing ollama dependency: python@3.14 ==> Pouring python@3.14--3.14.3_1.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/python@3.14/3.14.3_1: 3,764 files, 75.3MB ==> Installing ollama dependency: mlx ==> Pouring mlx--0.30.5.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/mlx/0.30.5: 411 files, 148.9MB ==> Installing ollama dependency: mlx-c ==> Pouring mlx-c--0.5.0.arm64_tahoe.bottle.tar.gz 🍺 /opt/homebrew/Cellar/mlx-c/0.5.0: 39 files, 814.3KB ==> Installing ollama ==> Pouring ollama--0.16.2.arm64_tahoe.bottle.tar.gz ==> Caveats To start ollama now and restart at login: brew services start ollama Or, if you don't want/need a background service you can just run: OLLAMA_FLASH_ATTENTION="1" OLLAMA_KV_CACHE_TYPE="q8_0" /opt/homebrew/opt/ollama/bin/ollama serve ==> Summary 🍺 /opt/homebrew/Cellar/ollama/0.16.2: 8 files, 33.7MB ==> Running `brew cleanup ollama`... Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`. Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`). ==> Caveats ==> ollama To start ollama now and restart at login: brew services start ollama Or, if you don't want/need a background service you can just run: OLLAMA_FLASH_ATTENTION="1" OLLAMA_KV_CACHE_TYPE="q8_0" /opt/homebrew/opt/ollama/bin/ollama serve ➜ ~ ollama 2026/02/20 16:26:34 WARN MLX dynamic library not available error="failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.16.2/bin /Users/qiyuqi/build/lib/ollama])" ➜ ~ brew list ==> Formulae ca-certificates mlx mpdecimal openssl@3 readline xz lz4 mlx-c ollama python@3.14 sqlite zstd ==> Casks ➜ ~ ``` ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.16.2
GiteaMirror added the bug label 2026-04-29 09:47:21 -05:00
Author
Owner

@qi-yu-qi commented on GitHub (Feb 20, 2026):

There is no WARN in which one installed by shell script.

<!-- gh-comment-id:3932458154 --> @qi-yu-qi commented on GitHub (Feb 20, 2026): There is no WARN in which one installed by shell script.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#55834