I returned to using svn for a particular project after a while and noticed that svn command failed. The failure was:
dyld: Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /usr/bin/svn
Reason: image not found
Trace/BPT trap: 5
I figured ubersvn was at fault, given that I had a ubersvn server running few months back and I had uninstalled it. I was completely off base. Poking around a while, I realized that it was not ubersvn but Postgresql un-installation that mucked around with the symlink. Creating a symlink to the current version of the library fixed the issue.
sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
Strange to see Postgresql mucking around with svn. Who would have thought? Thanks to this article for pointing me to the fix.
- Harpreet
dyld: Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /usr/bin/svn
Reason: image not found
Trace/BPT trap: 5
I figured ubersvn was at fault, given that I had a ubersvn server running few months back and I had uninstalled it. I was completely off base. Poking around a while, I realized that it was not ubersvn but Postgresql un-installation that mucked around with the symlink. Creating a symlink to the current version of the library fixed the issue.
sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
Strange to see Postgresql mucking around with svn. Who would have thought? Thanks to this article for pointing me to the fix.
- Harpreet


