[plt-dev] update on experiment in re-implementing MrEd

From: John Clements (clements at brinckerhoff.org)
Date: Fri Feb 6 19:09:53 EST 2009

On Feb 6, 2009, at 3:10 PM, Matthew Flatt wrote:

> For you amusement, I've put my current work here:
>
>      * Mac OS X: Drop the following file into your "plt/lib"
>        directory, or put it in any standard shared-library location:
>
>            http://www.cs.utah.edu/~mflatt/tmp/cairo.dylib


Two incredibly minor things under Mac OS X, PPC:

1) putting the dylib file into plt/lib didn't work until I explicitly  
added plt/lib to my LD_LIBRARY_PATH.
2) the supplied dylib file  is intel-only. Okay, I should stop whining  
and go look for a PPC cairo library.

Thanks!

John




computer:/tmp/mred-experiment clements$ mzscheme cocoa.ss
ffi-lib: couldn't open "cairo.dylib" (dlopen(cairo.dylib, 10): image  
not found)
computer:/tmp/mred-experiment clements$ which mzscheme
/Users/clements/plt/bin/mzscheme
computer:/tmp/mred-experiment clements$ ls ~/plt/lib
PLT_MrEd.framework	cairo.dylib		libmzscheme3m.a		starter
PLT_MzScheme.framework	libmzgc.a		mzdyn.o
buildinfo		libmzscheme.a		mzdyn3m.o
computer:/tmp/mred-experiment clements$ echo $LD_LIBRARY_PATH
/sw/lib:
computer:/tmp/mred-experiment clements$ LD_LIBRARY_PATH=~/plt/lib:$ 
{LD_LIBRARY_PATH}
computer:/tmp/mred-experiment clements$ mzscheme cocoa.ss
ffi-lib: couldn't open "cairo.dylib" (dlopen(cairo.dylib, 10): no  
suitable image found.  Did find:
	/Users/clements/plt/lib/cairo.dylib: mach-o, but wrong architecture
	/Users/clements/plt/lib/cairo.dylib: mach-o, but wrong architecture)
computer:/tmp/mred-experiment clements$

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20090206/fecb4f93/attachment.p7s>

Posted on the dev mailing list.