error with project generator

when i try to use project generator i get the error:
projectGenerator: error while loading shared libraries: cannot open shared object file: No such file or directory

openframeworks was working great two months back but i havent used it since and now i cant seem to find the solution.
if there any suggestions i would be grateful.