[plt-scheme] MrEd Graphics Questions

From: Dimitris Vyzovitis (vyzo at media.mit.edu)
Date: Sat Apr 14 00:37:07 EDT 2007

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



Posted on the users mailing list.