[PR #3148] [CLOSED] fix: support wide characters in lib path #21622

Closed
opened 2026-04-19 15:45:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3148
Author: @BruceMacD
Created: 3/14/2024
Status: Closed

Base: mainHead: brucemacd/lib-wpath


📝 Commits (3)

  • ec7c4d4 fix: support wide characters in lib path
  • 815de76 move macros to their own functions, rather than inline
  • 16bfa14 remove duplicate function definition

📊 Changes

1 file changed (+31 additions, -9 deletions)

View changed files

📝 llm/dyn_ext_server.c (+31 -9)

📄 Description

Previous behavior:

Error: Unable to load dynamic library: Unable to load dynamic server library: ������ ������ ã�� �� �����ϴ�.

When the user's home path contains unicode characters on Windows the packaged runtime libraries failed to open, add support for wide characters to fix this.

resolves #2615
resolces #3367


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3148 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 3/14/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `brucemacd/lib-wpath` --- ### 📝 Commits (3) - [`ec7c4d4`](https://github.com/ollama/ollama/commit/ec7c4d440426296689c9e03ab937db73c2852061) fix: support wide characters in lib path - [`815de76`](https://github.com/ollama/ollama/commit/815de76c6cf80722f7f432d85f8137fdaee2c67c) move macros to their own functions, rather than inline - [`16bfa14`](https://github.com/ollama/ollama/commit/16bfa149aa0d1590876a9e6c0f8adf01524e3d1f) remove duplicate function definition ### 📊 Changes **1 file changed** (+31 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `llm/dyn_ext_server.c` (+31 -9) </details> ### 📄 Description Previous behavior: ``` Error: Unable to load dynamic library: Unable to load dynamic server library: ������ ������ ã�� �� �����ϴ�. ``` When the user's home path contains unicode characters on Windows the packaged runtime libraries failed to open, add support for wide characters to fix this. resolves #2615 resolces #3367 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 15:45:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#21622