I just hit a bump in the road with installing MongoDB via Macports 1.8.1.
sudo port install boost pcre++ spidermonkey sudo port install mongodb
When I ran
I was greeted with
dyld: Library not loaded: /opt/local/lib/libnspr4.dylib Referenced from: /opt/local/lib/nspr/libplds4.dylib Reason: image not found Trace/BPT trap
To fix, I simply copied the missing file from its origin to where Mongodb was looking.
sudo cp /opt/local/lib/nspr/libnspr4.dylib /opt/local/lib
And all was right.