Reputation: 2339
I'm attempting to install subversion 1.7.2 ( upgrading from default Lion version, 1.6? ).
Running sudo port install subversion
the installing completes successfully however I receive this error when running "svn --version"
$ svn --version
dyld: Library not loaded: /opt/local/lib/libexpat.1.dylib
Referenced from: /opt/local/bin/svn
Reason: Incompatible library version: svn requires version 8.0.0 or later, but libexpat.1.dylib provides version 7.0.0
Trace/BPT trap: 5
How can I upgrade the libexpat library to make appease SVN?
Upvotes: 3
Views: 4788
Reputation: 85035
The current MacPorts version of libexpat should be version 8. Make sure you don't have another version of libexpat
installed in /usr/local
; that can sometimes interfere with Port builds and installs. Then update, clean, and reinstall both the expat
and subversion
ports:
sudo port selfupdate
sudo port clean expat subversion
sudo port -n upgrade --force expat subversion
Upvotes: 7