checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking libelf/libelf.h usability... yes
checking libelf/libelf.h presence... yes
checking for libelf/libelf.h... yes
checking libelf/gelf.h usability... yes
checking libelf/gelf.h presence... yes
checking for libelf/gelf.h... yes
checking for the correct version of libelf... yes
checking for elf_getshdrstrndx... no
checking for elf_getshstrndx... yes
Hmm, it did not detect elf_getshdrstrndx and yet it tried to use it
later on. I think that's the bug. Yes, please file a bug. I believe
it's going to be easy to fix, though. There should be an unguarded
use of that function somewhere, it needs to be changed.