[racket] mac plot crash

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Nov 8 14:22:00 EST 2010

I think the problem is the way that the plot libraries are built.
They're created on a 10.6 machine. The build is supposed to use a flag
that creates 10.4-compatible binaries, but the flag is not propagated
to the plot build. I thought that the problem created to an
imcompatibility only with 10.4, but I guess it's worse than I thought.

If you can write to the Racket installation and you have the Apple
developer tools installed, you can fix the problem by deleting
"libfit.dylib" and "libplplot.dylib" and running `raco setup plot'.

Meanwhile, we've taken some steps to fix the problem for the next
version (after 5.0.2), though we're not there, yet.

At Mon, 8 Nov 2010 14:11:14 -0500, Richard Mittel wrote:
> Mac OS X Version 10.5.8
> 
> On Mon, Nov 8, 2010 at 1:58 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> 
> > Are you using Mac OS X version 10.4?
> >
> > At Mon, 8 Nov 2010 13:53:38 -0500, Richard Mittel wrote:
> > > Hi,
> > >
> > > I have a module that begins with (require 2htdp/image) and (require
> > > (prefix-in plot: plot)).  When I require the module on a Mac, I get:
> > >
> > > ffi-lib: couldn't open "Volumes/Racket v5.0.1/Racket
> > > v5.0.1/collects/plot/compiled/native/i386-macosx/libfit.dylib"
> > > (dlopen(/Volumes/Racket v5.0.1/Racket
> > > v5.0.1/collects/plot/compiled/native/i386-macosx/libfit.dylib, 10): no
> > > suitable image found.  Did find:
> > >
> > >         /Volumes/Racket v5.0.1/Racket
> > > v5.0.1/collects/plot/compiled/native/i386-macosx/libfit.dylib: unknown
> > > required load command 0x80000022)
> > >
> > > Any thoughts?  I am new to Macs, so apologies in advance if the fix is
> > > simple/obvious.
> > >
> > > Thanks,
> > > RM
> >
> >


Posted on the users mailing list.