UPD: I think it is exactly the bug #2967. May be recompile using the patch proposed by Daniel Solano?