The instructions you have reported are clearly incomplete: can you follow the section quick start and post the exact messages you get on the screen (also from the cmake step)?
It seems to me that you do not have the shared libpython2.7.so library installed (so it tries to link against the archive /usr/local/lib/libpython2.7.a library).