I'm having issues compiling glib2.40.0 (a libtool compiled shared library) on Omnios.
In particular, my shared library has a static initializer that does not get executed by the libtool linked library. I've reduced this to the test case below:
#include <stdio.h>
void __attribute__((constructor)) myctor() {
printf("in …