Yes, I deleted the X11 libpng and it compiled okay. So is it a Fontforge issue? Or the compiler picking up the X11 version because it's newer or something? I'd have thought the newer version would be downwardly compatible in any case.
Anyway I know what the problem is now and how to avoid it. Many thanks for your help. ----- Original Message ----- From: Alexander Hansen [mailto:[email protected]] To: [email protected], [email protected] >> fink beginners mailing list [mailto:[email protected]] Cc: Matthew Wallis [mailto:[email protected]], Daniel Johnson [mailto:[email protected]] Sent: Sun, 27 Mar 2011 13:54:33 +0100 Subject: Re: [Fink-beginners] fontforge problem > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/26/11 4:33 PM, Alexander Hansen wrote: > > On 3/26/11 2:19 PM, Matthew Wallis wrote: > >> By the way, the XQuartz I installed is the latest, 2.6.1, which I see > includes libpng 1.5.1. > > > > > > Fontforge is _not_ supposed to pick up X11's libpng. If it's doing so > > then it needs to be fixed. > > > > By updating Xquartz to 2.6.1 on my 10.5.8/PowerPC system I reproduced > the issue: > > ... > checking for png_create_read_struct in -lpng16... no > checking for png_create_read_struct in -lpng15... yes > checking png.h usability... yes > checking png.h presence... yes > checking for png.h... yes > ... > gcc -dynamiclib -o ../.libs/libgutils.1.0.3.dylib .libs/divisors.o > .libs/fsys.o .libs/gcol.o .libs/gimage.o .libs/gimagereadbmp.o > .libs/gimageread.o .libs/gimagereadgif.o .libs/gimagereadjpeg.o > .libs/gimagereadpng.o .libs/gimagereadras.o .libs/gimagereadrgb.o > .libs/gimagereadtiff.o .libs/gimagereadxbm.o .libs/gimagereadxpm.o > .libs/gimagewritebmp.o .libs/gimagewritegimage.o .libs/gimagewritejpeg.o > .libs/gimagewritepng.o .libs/gimagewritexbm.o .libs/gimagewritexpm.o > .libs/gwwintl.o .libs/dynamic.o .libs/gio.o .libs/giofile.o > .libs/giohosts.o .libs/giomime.o .libs/giothread.o .libs/giotrans.o > /sw/lib/libgif.dylib /sw/lib/libtiff.dylib /sw/lib/libjpeg.dylib > /sw/lib/freetype219/lib/libfreetype.dylib /sw/lib/libxml2.dylib > /sw/lib/libintl.dylib /sw/lib/libspiro.dylib > /sw/lib/libuninameslist.dylib -L/sw/lib/fontconfig2/lib > - -L/sw/lib/xft2/lib -L/sw/lib/python2.7/config -L/sw/lib -L/usr/X11R6/lib > ../.libs/libgunicode.dylib /sw/lib/python2.7/config/libpython2.7.dylib > /sw/lib/libiconv.dylib -lpython2.7 -lpthread -Wl,-dead_strip_dylibs > - -Wl,/System/Library/Frameworks/CoreServices.framework/CoreServices > - -Wl,/System/Library/Frameworks/Carbon.framework/Carbon -install_name > /sw/lib/fontforge/libgutils.1.dylib -compatibility_version 2 > - -current_version 2.3 -Wl,-single_module > Undefined symbols: > "_png_write_end", referenced from: > _GImageWrite_Png in gimagewritepng.o > ... > > $ fink list libpng > Information about 11382 packages read in 4 seconds. > libpng-shlibs 1.0.12-7 PNG image format handling library > (old ve... > i libpng14 1.4.4-2 PNG image format handling library > i libpng14-shlibs 1.4.4-2 Shared libraries for libpng14 package > libpng15 1.5.1-1 PNG image format handling library > libpng15-shlibs 1.5.1-1 Shared libraries for libpng15 package > libpng3 1:1.2.44-2 PNG image format handling library > (i) libpng3-shlibs 1:1.2.44-2 Shared libraries for libpng3 package > > I've cc'ed the package maintainer, so hopefully a fix will be available > shortly. > > - -- > Alexander Hansen, Ph.D. > Fink User Liaison > http://finkakh.wordpress.com/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk2PM4kACgkQB8UpO3rKjQ+GgQCgkYKQbnII2pWyrAA1ZTWZACo3 > Xq8Anibs/+EVGDa/TNx2BBjoDLCA0lsL > =84Ue > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
