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

From: Geoffrey Knauth (geoff at knauth.org)
Date: Wed May 11 04:23:27 EDT 2005

It looks clean (2 lines) except it seems platform specific.  Is there  
a way to hide that detail?  --GSK

On May 10, 2005, at 23:10, Eli Barzilay wrote:

> 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).

Posted on the users mailing list.