> On May 7, 2015, at 16:02, Jack Howarth <howarth.at.f...@gmail.com> wrote: > > The problem is obvious in the config.log... > > configure:3734: /usr/bin/clang -o conftest -O3 -DNDEBUG > -I/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4 > -I/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4 > -I/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4/opal/include > -I/sw/include -Wl,-flat_namespace -L/sw/lib conftest.c -lhwloc >> &5 > configure:3738: $? = 0 > configure:3745: ./conftest > dyld: Library not loaded: /sw/lib/libxml2.2.dylib > Referenced from: /sw/lib/libhwloc.5.dylib > Reason: Incompatible library version: libhwloc.5.dylib requires > version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0 > ./configure: line 3747: 39330 Trace/BPT trap: 5 ./conftest$ac_cv_exeext > configure:3749: $? = 133 > configure:3756: error: in > `/sw/src/fink.build/openmpi-1.8.4-3/openmpi-1.8.4/opal/mca/event/libevent2021/libevent': > configure:3758: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > > The installed /sw/lib/libhwloc.5.dylib on your machine is properly > linked to the current libxml2 (as is mine on 10.9)... > > % otool -L /sw/lib/libhwloc.5.dylib > /sw/lib/libhwloc.5.dylib: > /sw/lib/libhwloc.5.dylib (compatibility version 12.0.0, current version > 12.1.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 1197.1.1) > /sw/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.1.0) > > but it appears that you have an older copy of the > /sw/lib/libxml2.2.dylib installed. Do you see the following? > > % otool -L /sw/lib/libxml2.2.dylib > /sw/lib/libxml2.2.dylib: > /sw/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.1.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 1197.1.1) > /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) > /sw/lib/liblzma.5.dylib (compatibility version 6.0.0, current version 6.5.0) > /sw/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0) > > with the installed libxml2 having a compatibility version of 12.0.0? > If not try 'fink rebuild libxml2'. > Jack >
Or perhaps your libxml2-shlibs just happens not to be current. I’m noticing that hwloc doesn’t declare a dependency on libxml2, much less a versioned one, in spite of the fact that it links to libxml2.2.dylib. It’s quite possible under such a scenario to grab a hwloc-shlibs from the binary distribution without any update to libxml2-shlibs—or even not to install libxml2-shlibs at all. Also, if DYLD_LIBRARY_PATH has been set globally so that the fink build process doesn’t automatically unset it, that can cause the linker to point to some other, incompatible libxml2.2.dylib . -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users