Another annoying automagic detection flawed configure script. cflags seem (at least partly) not to be respected as well.
argh, forget that. don't trust ldd w/o as-needed