[plt-scheme] Questions about modules, compilation, namespaces, planet and ffi
On May 11, Bruno Deferrari wrote:
> Well neither mzscheme nor mred are linked against libpthread on my
> system. I discovered that if on the REPL I do:
>
> (require (lib "foreign.ss"))
> (define libpthread (ffi-lib "/lib/libpthread.so.0"))
>
> mzscheme doesn't crash after loading libevas (or any library linked
> with libpthread). This is a quick-fix, but works :).
It's a fine solution for getting a shared library in. If you look in
the readline collection you'll see that it is loading libtermcap but
never uses it (libreadline requires it).
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!