|
From: Daniel J. <da...@da...> - 2008-05-30 18:14:10
|
On May 30, 2008, at 10:49 AM, Alexander Hansen wrote: > > On May 29, 2008, at 11:41 AM, Raeanne Napoleon wrote: > >> Received the following error when installing gnuplot on MAC OSX >> 10.5.2 Power PC: >> >> Making all in tutorial >> dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib >> Referenced from: /sw/lib/libgd.2.dylib >> Reason: Incompatible library version: libgd.2.dylib requires >> version 27.0.0 or later, but libpng12.0.dylib provides version 25.0.0 >> /bin/sh: line 1: 97908 Trace/BPT trap ../src/gnuplot eg1.plt >> make[2]: *** [eg1.tex] Error 133 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> ### execution of make failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-gnuplot-4.0.0-1005 >> (Reading database ... 40461 files and directories currently >> installed.) >> Removing fink-buildlock-gnuplot-4.0.0-1005 ... >> Failed: phase compiling: gnuplot-4.0.0-1005 failed >> >> Ran fink selfupdate, and then fink update-all and received same >> error. >> >> I have no idea what to do next. >> >> Thanks for any suggestions. > > Following up: I got bit by a version of this bug today. I'm not > 100% sure, but it looks like one of the X11 updates downgraded the > compatibility version of libpng12.0.dylib (which is generally not a > good thing ever to do). You're going to want to rebuild gd2-shlibs. The latest X11 package from macosforge has libpng version 27.0.0 but 10.5.3 has 25.0.0. So if you previously installed the macosforge package and then updated to 10.5.3, libpng (and other things) will get downgraded. You must reinstall X11-2.2.1.pkg after updating. In fact, once you've installed X11 from macosforge, you should always reinstall it after any system upgrade since the version Apple includes is not quite the latest. One of the penalties of using the latest and greatest. :) Daniel |