It seems that ldconfig crashes. Weird ... What happens if root executes this command?
/sbin/ldconfig -v
If that indeed does crash, try getting rid of the cache file it uses and execute it again:
mv /etc/ld.so.cache /etc/ld.so.cache_OLD
/sbin/ldconfig -v
Any luck?
Martin