You need to set up the DYLD_LIBRARY_PATH to include where ever you have 
paraview installed. Looks like the installer/builder is stripping the 
"install_name" from the libraries. again.
___________________________________________________________
Mike Jackson                    Principal Software Engineer
BlueQuartz Software                            Dayton, Ohio
mike.jack...@bluequartz.net              www.bluequartz.net

On Nov 10, 2011, at 1:02 PM, Fred Fred wrote:

> Hello,
> I can't solve this issue:
> 
> ParaView-3.10.1_cgns2.5_BUILD $ export 
> DYLD_LIBRARY_PATH=/usr/local/cgnslib_2.5_BUILD/lib
> ParaView-3.10.1_cgns2.5_BUILD $ ll $DYLD_LIBRARY_PATH
> total 1040
> drwxr-xr-x  3 root  wheel     102 10 nov 18:50 DARWIN
> -rwxr-xr-x  1 root  wheel  529608 26 sep 20:37 libcgns_2.5.dylib
> ParaView-3.10.1_cgns2.5_BUILD $ ll $DYLD_LIBRARY_PATH/DARWIN
> total 8
> lrwxr-xr-x  1 root  wheel  20 10 nov 18:50 libcgns_2.5.dylib -> 
> ../libcgns_2.5.dylib
> 
> [100%] Built target vtkSMExtractDocumentation-real
> [100%] Built target vtkSMExtractDocumentation
> [100%] Creating Documentation for ParaViewSources
> dyld: Library not loaded: DARWIN/libcgns_2.5.dylib
>   Referenced from: 
> /usr/local/ParaView-3.10.1_cgns2.5_BUILD/bin/./vtkSMExtractDocumentation
>   Reason: image not found
> 
> The software has compiled, the requested lib exists and the path is correctly 
> set up so what?
> It seems that cmake is looking somewhere else but how does it works within 
> cmake??
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to