I have been building deal.II on mac for many years and never found the need to 
set DYLD_LIBRARY_PATH.

My preferred way to install deal.II on mac/linux is

Install gcc using homebrew (to get gfortran)
Install spack and deal.II dependencies 
http://cpraveen.github.io/comp/spack.html 
<http://cpraveen.github.io/comp/spack.html>
Create a spack view of the dependencies
Compile deal.II myself using spack view

Best
praveen

> On 16-Nov-2018, at 3:11 AM, mrjonmatth...@gmail.com wrote:
> 
> It turns out my DYLD_LIBRARY_PATH variable was set to search in the macports 
> directory tree, and, as I understand it, it overrides the paths for the 
> shared libraries I specified through cmake. I was having a heck of a time 
> figuring out why my code was having runtime problems with libraries from the 
> wrong directories. 
> 
> I just thought I would mention that here in case someone else is having a 
> similar problem in the future.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to