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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With