Hi Adam, sorry for the late reply.
On Feb 15, 2007, at 12:49 PM, Adam Kocoloski wrote: > Hi Remi, > > Thanks so much for putting this together. It's great to be able to > deploy consistent sets of ROOT-CERNLIB-GEANT libraries across both > architectures. > > I've built this package successfully on a MBP running 10.4.8 and a > G5 running 10.4.8 server (gfortran option). However, one of my > colleagues has encountered errors linking h2root on a PowerBook > running 10.4.8. The offending command is > > g++ -O2 -bind_at_load -o bin/h2root main/src/h2root.o hbook/src/ > hntvar2.o \ > -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree - > lMatrix \ > -L/sw/./lib -L/sw/./lib -lpacklib -lkernlib \ > -L/sw/lib/gcc4/lib -lgfortran -lgfortranbegin -L/sw/lib -lg2c - > lm -lpthread -ldl > /usr/bin/ld: Undefined symbols: > _inflate > _inflateEnd > _inflateInit2_ > _inflateReset > collect2: ld returned 1 exit status > make: *** [bin/h2root] Error 1 > > I'm a little confused by this error, since my copies of h2root have > no inflate symbols in them. I tried a dirty hack by adding -lz to > the link command. This succeeded, but then Fink blew it away when > we did "fink install root5-cernlib-geant4" again. Any thoughts? > He's tried a fresh rebuild of Fink at least once. Thanks, I don't know why these symbols show up. However, the link line looks not as I would expect it. I just committed a fix trying to make the creation of this line a bit more reliable (at least I hope so). Anyway, could you (or your colleague) try again and see if it works now? Remi -- Q: How many kinds of physicists are there? A: Three. Those who can count and those who can't. ********************************************************************* Remigius K. Mommsen e-mail: [EMAIL PROTECTED] University of Manchester URL: http://cern.ch/mommsen Fermilab, MS 357 voice: ++1 (630) 840-8321 P.O. Box 500 fax: ++1 (630) 840-2649 Batavia, Il 60510, US home: ++1 (630) 236-0932 ********************************************************************* ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
