I suppose this is related to your other thread: Downgrade glib2
As I said on that thread, a fix for the glib2 is available and you can recompile current glib2 with the patch mentioned in the thread you posted.
EDIT: @freggel.doe has just provided you with a workaround on that other thread. Btw, no need to have two threads for the same issue.