-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I have been chasing my tail a bit regarding DYLD_LIBRARY_PATH. I appear to have been unable to persistently set the environment variable using:
export DYLD_LIBRARY_PATH="/Library/Frameworks/pylon.framework/Versions/A/Libraries/"
due to Apple's SIP security (MacOS Sequoia). However in my attempts I have managed to store the variable somewhere (persistently).
Found it here: ~/.zshenv
I'm not sure how DYLD_LIBRARY_PATH... got into ~/.zshenv. In the jumble, I'm guessing that I ran:
echo 'export DYLD_LIBRARY_PATH="/Library/Frameworks/pylon.framework/Versions/A/Libraries/"' >> ~/.zshenv
According to Gemini AI, in order:
- ~/.zshrc (most common place for user-specific settings for interactive shells)
- ~/.zprofile (for login shells)
- ~/.zshenv (less common for user settings, but read very early)
- /etc/zshrc
- /etc/zprofile
- /etc/zshenv
With the persistent env var now set, and _v3 added to build.rs (see #24) I am able to compile successfully using:
[dependencies]
#pylon-cxx = "0.4.4" <<< Removed due to _v3 issues
pylon-cxx = { path = "/users/myself/Github/pylon-cxx" } <<< Points to local pylon-css with modified _v3.