thanks for the quick reply > Make sure you have libpng14 or libpng15 installed. You probably currently > have Fink's libpng3 installed, which doesn't have that symbol.
i actually do have libpng15 installed and anot libpng3: [robinson]<esprit> fink list libpng Information about 11483 packages read in 1 seconds. libpng-shlibs 1.0.12-7 PNG image format handling library libpng14 1.4.11-1 PNG image format handling library i libpng14-shlibs 1.4.11-1 Shared libraries for libpng14 package i libpng15 1.5.10-1 PNG image format handling library i libpng15-shlibs 1.5.10-1 Shared libraries for libpng15 package libpng3 1:1.2.49-1 PNG image format handling library i libpng3-shlibs 1:1.2.49-1 Shared libraries for libpng3 package i system-pkgconfig-li 1.2.46-1 [virtual pkgconfig package representing libpng] i system-pkgconfig-li 1.2.46-1 [virtual pkgconfig package representing libpng12] on my MacPro (running under fink PM 0.29.21) i have libpng14 installed (and not 15) and it works fine... so the problem may relate to libpng15. i didnot mention that i'm compiling with the -m32 option. is there any incompatibility of this option with libpng15 ? jeanfrancois > On 06/29/2012 4:22 AM, Jean-Francois Donati wrote: >> hi >> >> i'm having a problem when compiling a c code (called geometry) invoking >> pgplot libraries. >> this code used to work fine in the past on my mac book (2.4GHz intel core2 >> duo) under OSX 10.6.8 >> but is failing now for a reason that i cannot manage to work out >> (i haven't tried it for a while so it may be related to an fink upgrade that >> occured a few months ago). >> this very same code is working fine on my mac pro (same version of OSX, >> latest version of fink stable) >> but is apparently failing on the macbook. >> >> here is the message i'm getting : obviously, it's having trouble finding a >> routine, >> that should presumably be part of libpng but is not (since i'm linking with >> libpng obviously). >> >> [robinson]<esprit> make geometry >> gfortran -o geometry geometry.o util.o spec.o earth.o ccdfit.o version.o >> /Users/donati/lib/libfile.a /Users/donati/lib/libnr0.a >> /Users/donati/lib/libmem.a /Users/donati/lib/libplot.a -L/usr/X11R6/lib >> -lX11 -Wl,-framework -Wl,Foundation -L/sw/lib -lz -laquaterm -lpng >> -L/sw/lib/pgplot -lpgplot -lcpgplot >> Undefined symbols: >> "_png_set_longjmp_fn", referenced from: >> _write_image_file in libpgplot.a(pndriv.o) >> ld: symbol(s) not found >> collect2: erreur: ld a retourn'e 1 code d''etat d'ex'ecution >> make: *** [geometry] Error 1 > > > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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