有时候链接错了,想清理一下。怎么办呢?具体来说:

sudo rm /etc/ld.so.cache
sudo ldconfig

然后要重启机器。