Comment 2 for bug 218658

Revision history for this message
Axos (sancroff) wrote : Re: dbus-java will build under dpkg-buildpackage, but not under pbuilder

Adding "-fno-stack-protector" to CFLAGS in the libmatthew Makefile and rebuilding solved the problem for me. I'm no expert but here's my theory: If you are using the Sun JDK, the java executable built by Sun does not have stack protection enabled. So when the JVM tries to load the libmatthew shared libraries the external references to __stack_chk_fail_local in the libmatthew shared libraries cannot be resolved and the load fails. Rebuilding the libmatthew libraries with "-fno-stack-protector" removes the references to __stack_chk_fail_local.