[plt-scheme] Questions about modules, compilation, namespaces, planet and ffi

From: Eli Barzilay (eli at barzilay.org)
Date: Tue May 10 23:10:59 EDT 2005

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!



Posted on the users mailing list.