On 18/06/12 16:58, Hanspeter Niederstrasser wrote: [] > +# cmake is broken even after setting DYLD_LIBRARY_PATH and needs help > +# finding libvtkDICOMParser.5.8.dylib when linking vtkpython. So let's > +# add an explicit -L flag to the linker for that case (only). > + cd Wrapping/Python/CMakeFiles/vtkpython.dir > + echo `cat link.txt` -L../../bin> link.txt > + cd ../../../.. > + make -w
OK, so this is not too hard. But it would be interesting to understand (maybe you do?) why this is necessary. Here is an additional data point (but with this I'll have to stop; I'll be on the road for 3 weeks starting tomorrow; feel free to fix vtk58; I can always undo it afterwards ;-) ): Suspecting cmake (obviously), I downgraded cmake from 2.8.8-2 to 2.8.6-2 and rebuilt vtk58. It went through without problem, which explains why I was successful earlier. The linker line in question is now much longer. There appears not only this library, but quite a few others: /sw/var/lib/fink/path-prefix-clang/c++ -g -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw_bootstrap/lib -flat_namespace -undefined suppress -u _PyMac_Error CMakeFiles/vtkpython.dir/vtkPythonAppInit.cxx.o -o ../../bin/vtkpython /sw/lib/libtk.dylib /sw/lib/libtcl.dylib -lm -lpthread /sw/lib/python2.7/config/libpython2.7.dylib ../../bin/libvtksys.5.8.0.dylib ../../bin/libvtkCommon.5.8.0.dylib ../../bin/libvtkFiltering.5.8.0.dylib ../../bin/libvtkIO.5.8.0.dylib ../../bin/libvtkGraphics.5.8.0.dylib ../../bin/libvtkImaging.5.8.0.dylib /usr/lib/libutil.dylib ../../bin/libvtkRendering.5.8.0.dylib ../../bin/libvtkVolumeRendering.5.8.0.dylib ../../bin/libvtkHybrid.5.8.0.dylib ../../bin/libvtkWidgets.5.8.0.dylib ../../bin/libvtkParallel.5.8.0.dylib ../../bin/libvtkCharts.5.8.0.dylib ../../bin/libvtkGeovis.5.8.0.dylib ../../bin/libvtkInfovis.5.8.0.dylib ../../bin/libvtkViews.5.8.0.dylib ../../bin/libvtkInfovis.5.8.0.dylib ../../bin/libvtkWidgets.5.8.0.dylib ../../bin/libvtkVolumeRendering.5.8.0.dylib ../../bin/libvtkHybrid.5.8.0.dylib ../../bin/libvtkParallel.5.8.0.dylib ../../bin/libvtkRendering.5.8.0.dylib ../../bin/libvtkIO.5.8.0.dylib ../../bin/libvtkDICOMParser.5.8.0.dylib ../../bin/libvtkNetCDF.5.8.0.dylib ../../bin/libvtkNetCDF_cxx.dylib ../../bin/libvtkmetaio.5.8.0.dylib ../../bin/libvtksqlite.5.8.0.dylib ../../bin/libvtkjpeg.5.8.0.dylib ../../bin/libvtktiff.5.8.0.dylib ../../bin/libvtkexpat.5.8.0.dylib ../../bin/libvtkGraphics.5.8.0.dylib ../../bin/libvtkverdict.5.8.0.dylib ../../bin/libvtkImaging.5.8.0.dylib ../../bin/libvtkFiltering.5.8.0.dylib ../../bin/libvtkCommon.5.8.0.dylib ../../bin/libvtksys.5.8.0.dylib -lm ../../bin/libvtkpng.5.8.0.dylib ../../bin/libvtkzlib.5.8.0.dylib ../../bin/libvtkftgl.5.8.0.dylib ../../bin/libvtkfreetype.5.8.0.dylib ../../bin/libvtkexoIIc.5.8.0.dylib ../../bin/libVPIC.5.8.0.dylib ../../bin/libCosmo.5.8.0.dylib ../../bin/libvtklibxml2.5.8.0.dylib ../../bin/libvtkalglib.5.8.0.dylib -- Martin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
