On Nov 28, 2008, at 12:11 PM, Francis Poulin wrote: > Hello, > > I am running OS 10.5 on my MacBook Pro with XCode 3.1.2. > > I recently had to install everything from scratch because of a dead > hard drive. When I try running gnuplot I get the following errors. > This also comes up when I try any plotting with octave. Any > suggestions? > > Thanks, > Francis > > 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 > 25.0.0 or later, but libpng12.0.dylib provides version 1.0.0 > /sw/bin/gnuplot: line 6: 26403 Trace/BPT trap /sw/bin/ > gnuplotx "$@" > >
There are two problems here. The first is that libgd really needs to ensure that it links to fink's libpng3. The other is that it looks like your X11 stuff is older than what your gd2 was built with (if you got it from the binary distribution this would be the case). The X11 update from 10.5.2 should suffice. Also: I don't think we're quite ready to support Xcode 3.1.2--you may encounter difficulties in building packages. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users