http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48445
--- Comment #9 from Blanca Mancilla <mancilla at cse dot unsw.edu.au> 2011-04-06 00:50:09 UTC --- Yeap! The problem was the libraries not found and the make install assumming make run without error. I had a conflict between the ubuntu c++ and 4.7 in some other program and while testing, commented the library path line in my bashrc. Also, should change the script to make && make install, instead of having them in as separate commands to avoid the misleading messages. Thanks for the comments.