David R. Morrison wrote: > On Jul 26, 2006, at 5:46 PM, Andrew Hartung wrote: > >> When running 'fresclam' I get the following: >> >> >> dyld: Library not loaded: /sw/lib/libgmp.3.dylib >> Referenced from: /sw/bin/freshclam >> Reason: no suitable image found. Did find: >> /sw/lib/libgmp.3.dylib: incompatible cpu-subtype >> Trace/BPT trap >> > > Could you please tell me what you get from "dpkg -l gmp-shlibs", and > whether you are using the binary distribution or not? (That is, did > you get gmp in binary form or did you build it yourself.)
Dave, in case Andrew doesn't have this information about his ante-rebuilding version any more, here is what I can see from several gmp-shlibs debs lying around here: In version 4.1.4 which is also in the bindist, the library is built with cpusubtype=ALL, because the only relevant linker flag is "-mpowerpc" (which, if I read my logfile correctly, gets dropped by libtool). So no problem with this one. In version 4.2 and 4.2.1, the library is built with cpusubtype=ppc970 on a G5, because the relevant linker flags are "-mpowerpc -force_cpusubtype_ALL -mcpu=970", and the "-force..." gets dropped, but the "-m..." flags make it onto the real linker line. These must probably have been built with different libtool versions, because the -mpowerpc is transmitted to the real linker line in one version and not in the other one. -- Martin ------------------------------------------------------------------------- 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
