← Back to team overview

dolfin team mailing list archive

Re: demo problem

 


I get the following linking problem when trying to execute a demo:

pc194:dolfin ale$ pkg-config dolfin --libs
-L/usr/local/lib -L/opt/local/lib -ldolfin -lxml2 -lpthread -lz -liconv -lm pc194:cpp ale$ ./demo dyld: Library not loaded: dolfin/libdolfin.dylib
  Referenced from: /Users/ale/FEniCS/dolfin/demo/pde/mixed-poisson/cpp/./demo
  Reason: image not found
Trace/BPT trap
Do you have the file libdolfin.dylib in the folder /Users/ale/FEniCS/dolfin/dolfin?

Also, please post the output of DYLD_LIBRARY_PATH (env | grep DYLD). Did you source dolfin.conf in the same window as you are running the demo, as the current user (not root)?

ilmar


Follow ups

References