Cannot open shared object file

Problem:

I built zeromq and installed it in linux. But, the application using it returned follow msg:

libzmq.so.1: cannot open shared object file:No such file or directory

WTF!
I already installed it! It is in /usr/local/lib!

 

Solution:

just run follow:

$ sudo ldconfig

 

Living Point:

방금 설치한 라이브러리를 못찾을 때는 소금(ldconfig)을 치면 된다.
끝!