[plt-scheme] MrEd Graphics Questions
On Apr 13, Williams, M. Douglas wrote:
>
> It seems the prebuild Ubuntu builds should take that into consideration.
It doesn't sound like this is a solution. IIRC, the error is due to a
symbol that exists on the build system but not on your system.
Perhaps this symbol is inserted into the code by GCC, but then the
problem is with Ubuntu -- which needs to include whatever provides
that symbol by default. Or maybe some .so needs to be loaded to be
able to use such libraries (and again, if it's the default then it
should really be part of libc, I think). But I'm mostly guessing.
> -----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
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!