I am not sure my solution will work in your case. I use spack view to install symlinks into /opt/spack
Then I compile deal.II myself using dependencies installed in /opt/spack Setting DYLD path to /opt/spack/lib then works for me, otherwise I too get those library not found errors when running deal.ii codes. In the past I never had to set DYLD when using spack to install deal.II dependencies, but in some recent xcode update, the behaviour seems to have changed. Perhaps in your case this might work. export DYLD_FALLBACK_LIBRARY_PATH=`spack location -i trilinos`/lib Does this now find libmuelu… ? Best praveen > On 28-Sep-2020, at 2:32 PM, Praveen C <cprav...@gmail.com> wrote: > > Try adding path to you spack lib, like this > > export DYLD_FALLBACK_LIBRARY_PATH=/opt/spack/lib > > I add this to my $HOME/.profile file. > > Best > praveen > >> On 28-Sep-2020, at 2:21 PM, 'Alexander Greiner' via deal.II User Group >> <dealii@googlegroups.com <mailto:dealii@googlegroups.com>> wrote: >> >> Hi Wolfgang, >> >> at least I could not find a log file, but your hint encouraged me to find >> another solution. So I ran spack with -d and -v options to print out more >> information directly to the terminal. As you predicted, there was an error >> (attached) that seems to be related to the ginkgo package. I left out ginkgo >> and was finally able to install deal.II 9.2 with the following command: >> spack -d -v install dealii~scalapack~ginkgo ^openblas@develop >> ^arpack-ng@develop ^trilinos~mumps >> >> Now, trying to run step-1 tutorial, I encounter a problem that some (quite a >> lot) libraries are not linked properly (previously discussed here: >> https://groups.google.com/g/dealii/c/hKNu1IfwClw >> <https://groups.google.com/g/dealii/c/hKNu1IfwClw>). Error message is >> attached. I executed: >> >> cd examples/step-1 >> spack load dealii >> cmake . >> make run >> >> I don't know whether this problem is related to deal.II or to spack. But >> maybe there is a fix to that, without adapting all dynamic library files >> manually? I've also attached the summary.log and detailed.log in case it >> might be helpful. >> >> Thank's a lot so far! >> >> Regards >> Alex > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/79DE8648-72D6-44CD-9292-2C8BFC1EF052%40gmail.com.