ghc does not tolerate rsync between different machines

Daniel J. Luke dluke at geeklair.net
Mon Jul 16 09:25:34 PDT 2007


On Jul 16, 2007, at 11:25 AM, Joerg van den Hoff wrote:
> #------------------------------------------------------
> dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib
>   Referenced from: /opt/local/lib/ghc-6.6.1/ghc-6.6.1
>   Reason: no suitable image found.  Did find:
> 	/opt/local/lib/libgmp.3.dylib: incompatible cpu-subtype
> Trace/BPT trap
> #------------------------------------------------------
>
> does this mean that due to the "incompatible cpu-subtype" I need to
> recompile ghc from scratch for the G4?  I would rather not (it took 3
> hours on the G5...).  no way around this?

It's libgmp that is the problem here.

It compiled on the G5 with G5 specific optimizations and so won't  
work on your G4.

You can rebuild it for your G4 and things should be OK (or at least,  
it'll get past this specific error).

Note that the G4 version should run OK on your G5 (although it might  
be slightly slower).
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070716/a34de2c9/PGP.bin


More information about the macports-users mailing list