As Martin Costabel pointed out, both your fink installation and that libpng package are 6 years out of date. The FAQ should help you figure out how to update, or if not, people on the fink-users mailing list can help.
-- Dave On Aug 8, 2010, at 9:19 AM, John Davison wrote: > I noticed the following lines in file > “/sw/src/libpng3-1.2.5-2/libpng-1.2.5/scripts/Makefile.darwin”: > >> PNGMAJ = 0 >> PNGMIN = 1.2.5 >> PNGVER = $(PNGMAJ).$(PNGMIN) >> LIBNAME = libpng12 > > Therefore, the following can’t possibly work: > >> $(LIBNAME).$(PNGVER).dylib: $(OBJSDLL) >> $(CC) -dynamiclib \ >> -install_name $(LIBPATH)/$(LIBNAME).$(PNGMAJ).dylib \ >> -current_version $(PNGVER) -compatibility_version $(PNGVER) \ >> -o $(LIBNAME).$(PNGVER).dylib \ >> $(OBJSDLL) -L$(ZLIBLIB) -lz > > $(PNGVER) evaluates to “0.1.2.5” which is ill-formatted, according to the ld > man page. The ld man page requires that > > -compatibility_version number > Specifies the compatibility version number of the library. > When a library is loaded by dyld, the compatibility version > is checked and if the program's version is greater that the > library's version, it is an error. The format of number is > X[.Y[.Z]] where X must be a positive non-zero number less > than or equal to 65535 > > So 1.2.5 would be valid, but 0.1.2.5 isn’t. > > It would seem that > “/sw/src/libpng3-1.2.5-2/libpng-1.2.5/scripts/Makefile.darwin” is broken. > > $ld -v > @(#)PROGRAM:ld PROJECT:ld64-85.2.1 > $ uname -a > Darwin hostname 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT > 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel