>>570
長くてちゃんと読んでないので見当はずれだったらごめん

rootで
/etc/ld.so.confにディレクトリ書くか
/etc/ld.so.conf.d/にディレクトリ書いたファイル作って
ldconfig実行する