[plt-scheme] MrEd Graphics Questions

From: Williams, M. Douglas (M.DOUGLAS.WILLIAMS at saic.com)
Date: Sat Apr 14 00:42:14 EDT 2007

It seems the prebuild Ubuntu builds should take that into consideration.

-----Original Message-----
From: Dimitris Vyzovitis [mailto:vyzo at media.mit.edu]
Sent: Fri 4/13/2007 10:37 PM
To: Williams, M. Douglas
Cc: plt-scheme at list.cs.brown.edu
Subject: RE: [plt-scheme] MrEd Graphics Questions
 
On Fri, 13 Apr 2007, Williams, M. Douglas wrote:

> One other thing.  The PLoT package seems to be broken under version 369.8 on Ubuntu 6.10.  I get the following message when I try executing any of my plot code.
>
> Welcome to DrScheme, version 369.8-svn14mar2007 [3m].
> Language: Graphical (MrEd, includes MzScheme).
> ffi-lib: couldn't open "/usr/full-369.8/collects/plot/compiled/native/i386-linux/libplplot.so" (/usr/full-369.8/collects/plot/compiled/native/i386-linux/libplplot.so: undefined symbol: __stack_chk_fail_local)
>

In recent ubuntu versions, gcc is configured to compile with
-fstack-protector by default (pretty retarded).

Either push -fno-stack-protector to CFLAGS or use gcc as the linker:
export MZSCHEME_DYNEXT_COMPILER_FLAGS=-fno-stack-protector
or
export MZSCHEME_DYNEXT_LINKER=/usr/bin/gcc

Or you can use gentoo :p

-- vyzo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070413/17507434/attachment.html>

Posted on the users mailing list.