dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10784
R: demo problem
Ok exporting the following soved my problem:
export DYLD_LIBRARY_PATH=/Users/ale/FEniCS/dolfin/dolfin:$DYLD_LIBRARY_PATH
It's not clear to me what dolfin.conf does though, can I put all the export I need in there and then just source it everytime I intend to use dolfin?
Thank you very much,
Alessio
________________________________________
Da: Ilmar Wilbers [ilmarw@xxxxxxxxx]
Inviato: venerdì 21 novembre 2008 11.20
A: Alessio Quaglino
Cc: dolfin-dev@xxxxxxxxxx
Oggetto: Re: [DOLFIN-dev] 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