"ldconfig ." will add '.' to /etc/ld.so.cache. Shouldn't it convert a relative path to the absolute path first? H.J.