28
16
I am trying to install a solver written in C++ on my Mac (OS X), for use with code I have written in XCode.
The solver documentation says this:
Be sure to have "." in your
DYLD_LIBRARY_PATH
in order to
- run the ready-built executables
- link with the libamg.dylib (and the gfortran RTSlibs)
I don't really understand what this means. Where and what do I need to change what?
I have done some googling, but haven't come across anything that is simple enough for a newbie like me! If there are any patient people out there who wouldn't mind directing me to an online resource or giving me the a-b-cs of how and where to set environment variables, I would be very grateful.
1
I agree with @TVNshack that you should usually not set
– SuperTempel – 2017-03-29T17:04:59.793DYLD_LIBRARY_PATH
norDYLD_FRAMEWORK_PATH
, because it may prevent those loaded libs to find system-provided libs. To make that work better, use instead theFALLBACK
versions. More info in this answer: http://stackoverflow.com/a/3172515/43615