Skip to content

Fix library path in macos#7

Closed
yasuo-ozu wants to merge 2 commits into
mainfrom
fix_macos
Closed

Fix library path in macos#7
yasuo-ozu wants to merge 2 commits into
mainfrom
fix_macos

Conversation

@yasuo-ozu

Copy link
Copy Markdown
Collaborator

No description provided.

@Kazutaka333

Copy link
Copy Markdown
Contributor

sorry I should've mentioned that I was working on it
#6

if platform.system() == "Linux":
_append_env_path("LD_LIBRARY_PATH", str(lib_dir))
elif platform.system() == "Darwin":
_append_env_path("DYLD_LIBRARY_PATH", str(lib_dir))

@Kazutaka333 Kazutaka333 Apr 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've read manually manipulating DYLD_LIBRARY_PATH is not ideal and using DYLD_FALLBACK_LIBRARY_PATH seem to be encouraged.

Suggested change
_append_env_path("DYLD_LIBRARY_PATH", str(lib_dir))
_append_env_path("DYLD_FALLBACK_LIBRARY_PATH", str(lib_dir))

https://stackoverflow.com/a/3172515

@yasuo-ozu yasuo-ozu closed this Apr 10, 2026
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