Dear Johannes,

thank you for your fast reply. I could run the script and everything seems to 
be working normally now - thank you!

Christopher

> Am 04.11.2015 um 13:34 schrieb Johannes Ring <[email protected]>:
> 
> Yes, we are aware of this problem. The thing is that we are relying on 
> setting DYLD_FALLBACK_LIBRARY_PATH, but this does not work in OS X 10.11 as 
> it did in previous versions of OS X. What we need to do is to use the full 
> paths to the libraries. There is a script available in [1] that we can use 
> for this. Please try the following:
> 
> cd /Applications/FEniCS.app/Contents/Resources
> curl -O 
> https://bitbucket.org/petrko/fenics_scripts/raw/4f6ed4be804fe578afced5649033e20ccf339c0c/relocate_fenics.py
>  
> <https://bitbucket.org/petrko/fenics_scripts/raw/4f6ed4be804fe578afced5649033e20ccf339c0c/relocate_fenics.py>
> sed -i.bak '/sign/d' relocate_fenics.py
> sed -i.bak '/CERT/d' relocate_fenics.py
> python relocate_fenics.py > relocate_fenics.sh
> sh relocate_fenics.sh
> 
> Then try to run the script again. If it works, then I can add this fix to the 
> binary package.
> 
> [1] 
> https://bitbucket.org/fenics-project/fenics-developer-tools/issues/8/fenics-160-binary-for-os-x-does-not-work
>  
> <https://bitbucket.org/fenics-project/fenics-developer-tools/issues/8/fenics-160-binary-for-os-x-does-not-work>
> 
> Johannes
> 
> On Wed, Nov 4, 2015 at 12:39 PM Basting Christopher 
> <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi,
> 
> I’m writing to inform you about the problems I ran into when updating to 
> FEniCS 1.6.0 on my Mac with El Capitan (10.11). When I tried to run 
> demo_poisson.py from the demo folder, it could not compile and gave the 
> following information in the compile.log:
> 
> dyld: Library not loaded: 
> /Users/johannr/fenics-1.6.0/local/lib/libpcre.1.dylib
>   Referenced from: /Applications/FEniCS.app/Contents/Resources/bin/swig
>   Reason: image not found
> make[2]: *** 
> [ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3PYTHON_wrap.cxx] Trace/BPT 
> trap: 5
> make[1]: *** 
> [CMakeFiles/_ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3.dir/all] Error 
> 2
> make: *** [all] Error 2
> 
> It seems that the path /Users/johannr/fenics-1.6.0/local/lib/libpcre.1.1dylib 
> is set in the binary swig. I could fix the issue by creating the symbolic link
> 
> /Users/johannr/fenics-1.6.0/local/lib/ -> 
> /Applications/FEniCS.app/Contents/Resources/lib/
> 
> even though this is obviously not a nice fix. Can you assist me on this issue 
> or is it necessary to rebuild the 10.11 package?
> 
> Thank you,
> 
> Christopher
> _______________________________________________
> fenics-support mailing list
> [email protected] <mailto:[email protected]>
> http://fenicsproject.org/mailman/listinfo/fenics-support 
> <http://fenicsproject.org/mailman/listinfo/fenics-support>

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to