I have a brand new install of Mac OS 10.7.2. I have installed SVN on it, however, when I try to invoke Subversion, I get the error:
dyld: Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /opt/subversion/bin/svn
Reason: no suitable image found. Did find:
/usr/lib/libpq.5.dylib: no matching architecture in universal wrapper
/usr/lib/libpq.5.dylib: no matching architecture in universal wrapper
I have tried searching for the error, and it looks like that library is used primarily by PostreSQL (which I also have installed), but that is running fine. I am a little confused as to why SVN would be trying to call this library, and furthermore why it fails.
Various user groups online state that the solution is to create a symbolic link to the 'real' PostgreSQL install, but I have done that. (See also: subclipse) I have reinstalled SVN and PostgreSQL twice now with no errors. Any help would be appreciated.