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

i found a similar report on the web:  
  http://macosx.com/forums/unix-x11/319812-problem-pgplot-libraries.html
but with no answer on how to proceed to make it work.  

any help would be welcome 
thanks in advance 
jeanfrancois donati

------------------------------------------------------------------------------
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

Reply via email to