/ usr / local / lib may not be in the selection path used by ldconfig. You can do it completely: ldconfig / usr / local / lib. And food needs to be added to the link store cache, but it is probably best to fortify the path correctly.