The patch by mlind fixes the segfault, but to get javahl to work one still needs the -D_XOPEN_SOURCE=500 compile time option.
The patch by mlind fixes the segfault, but to get javahl to work one still needs the -D_XOPEN_SOURCE=500 compile time option.