--
You received this message because you are subscribed to the Google Groups "fenics-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fenics-dev+...@googlegroups.com.
To post to this group, send email to fenic...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try to run this:I assume it is has not set rpath to BOOST and/or VTK libraries. This is currently the fix we have for this:
otool -L /Users/garth/code/fenics/dev/dolfin.d/dolfin-master/local.master/lib/python2.7/site-packages/dolfin/cpp/_common.so
https://bitbucket.org/fenics-project/fenics-developer-tools/src/e08898740acc9bf0698637f55d4cadd5db256c3b/install/patches/hashstack-dolfin-osx-rpath-fix.patch
I think the change came with the latest OS X and/or latest Xcode, where you have to specify the full path to all runtime libraries (or reference them using @rpath, @loader_path or @executable_path). Setting DYLD_* variables does no longer work. Your output from "otool -L" looks fine, but you should also run "otool -L" on the libraries in this list, to make sure they are fine too...We also had to set -DCMAKE_MACOSX_RPATH:BOOL=ON for DOLFIN and some other CMake based packages.
To make it work in HashStack, we had to use install_name_tool to fix the BOOST and VTK libraries:
https://github.com/hashdist/hashstack/commit/43b42d
Johannes
@Garth, you should use the hashdist scripts (fenics-install-foo.sh). Then this is taken care of... ;-)
I think the change came with the latest OS X and/or latest Xcode, where you have to specify the full path to all runtime libraries (or reference them using @rpath, @loader_path or @executable_path). Setting DYLD_* variables does no longer work. Your output from "otool -L" looks fine, but you should also run "otool -L" on the libraries in this list, to make sure they are fine too...