build error on OS X

I was having the same problem with interrogate not finding those libraries when I ran sudo make (and getting permission errors when I just ran make). I just figured out how to fix it, so in case anyone else has this problem it might help.

I did sudo bash then tried “export $DYLD_LIBRARY_PATH”. Since it was running root and not my username, that variable was empty. I ran the export that was in my .bash_profile (still under root) then ran make, and everything worked fine. Hope that helps someone!