Yes, I made sure that the library path is DYLD_LIBRARY_PATH
This is what the otool command look like :
bash-3.2# otool -L step-1
step-1:
        libdeal_II_2d.g.6.2.1.dylib (compatibility version 0.0.0, current 
version 0.0.0)
        liblac.g.6.2.1.dylib (compatibility version 0.0.0, current version 
0.0.0)
        libbase.g.6.2.1.dylib (compatibility version 0.0.0, current version 
0.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.3)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
version 7.9.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 124.1.1)

Khalid


________________________________
From: Luca Heltai <[email protected]>
To: khalid ashraf <[email protected]>
Cc: [email protected]
Sent: Wed, March 31, 2010 9:05:02 AM
Subject: Re: [deal.II] Library not loaded, image not found on Mac-10.6.1

In your previous email you said you set 

LD_LIBRARY_PATH

Did you notice the difference with 

DYLD_LIBRARY_PATH

?

This is specific to mac. I imagine you are used to work on Linux...

If this is not the case, then what is the output of the command 

otool -L executable_name_here

?

L.

--
Luca Heltai <[email protected]>
http://people.sissa.it/~heltai/
Scuola Internazionale Superiore di Studi Avanzati
Phone:  +39 040 3787 449, Office: 255
--
There are no answers, only cross references.






On 31/mar/2010, at 17.09, khalid ashraf wrote:

> Hi Luca, 
>               Thanks for the advice. I set the library PATH variable 
> correctly. 
> Also the deal.II/common/Make.global_options file seems to have
> captured the compiler variables correctly. Still I get the same error.
> Any idea why ?
> 
>  dyld: Library not loaded: libdeal_II_1d.g.6.2.1.dylib
>   Referenced from: /Users/kashraf/SOFTWARE/deal.II/examples/step-1./step-1
>   Reason: image not found
>  make: *** [run] Trace/BPT trap
> 
> Thanks.
> 
> Khalid  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


      
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to