I tried to install cheese from git development branch gnome-3-2 but after lunching:
sh autogen.sh
make install

if I try to lunch the program with the command:

I receive this error:
cheese: error while loading shared libraries: libcheese.so.1: cannot open shared object file: No such file or directory

But if I do whereis libcheese.so.1 I receive:
libcheese.so: /usr/local/lib/libcheese.so.1 /usr/local/lib/libcheese.so

so it does exist but.......cheese doesn't fnd it. Does anybody know what's the problem?
Mind that I'm trying to study the code of cheese so I'm not just interested in having the software installed, I want to be able to modify and recompile it.