← Back to team overview

dolfin team mailing list archive

Re: R: demo problem

 

The file dolfin.conf is updated (if necessary) every time you run scons.
It shouldn't be necessary to make changes to dolfin.conf manually, simply
source it before using DOLFIN.

Johannes

On Fri, November 21, 2008 11:27, Alessio Quaglino wrote:
> 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
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>




References