Maybe I'm doing something the wrong way, but I cannot
recompile the shared native library without passing
-fPIC to gcc (3.4.5). It seems pretty obvious to me,
that a shared library needs position independent code
so I can live with it.
(The annoying bit of this was, that using JCurses
failed with complaining about the non-existence of the
library file when using the precompiled library from
the jcurses-linux archive...)