0

I'm struggling to debug an issue with libraries failing to load. The obvious solution is to set the DYLD_LIBRARY_PATH to the directory that contains the libraries, however for some reason this solution doesn't seem to be taking. I do:

export DYLD_LIBRARY_PATH=<path>

but the variable doesn't appear when I call env. Strangely enough, it does tab-complete, as in when I do echo $DYLD_<tab>. What gives?

alexgolec
  • 26,898
  • 33
  • 107
  • 159
  • Cannot reproduce; `export DYLD_LIBRARY_PATH=/Users/me; env | grep DYLD` shows the variable. – chepner Dec 24 '15 at 17:13
  • Worth having a look at [this](http://askubuntu.com/questions/53177/bash-script-to-set-environment-variables-not-working). – sjsam Dec 24 '15 at 17:13
  • 5
    This is a duplicate of http://stackoverflow.com/q/33616185/258523 though that doesn't have an accepted answer at the moment. I'm about to migrate the comments into an answer on it though. – Etan Reisner Dec 24 '15 at 17:16

0 Answers0