the number of shlibs in the elf hints can be 0 if ldconfig wasn't run a first time and/or we are installing base

Reported by:	demon