2
1
(I think this is the correct board to post on, also considered StackOverflow but this isn't really coding, and serverFault but seemed lower level OS items)
After several hours trying to add matplotlib to Python, via various XCode and MacPorts adventures, I now find that Subversion is broken. Ideas I've found online don't seem to fix it, and even reinstalling hasn't fixed it.
Problem:
The command:
svn -version
Produces this:
Error:
dyld: Library not loaded: @rpath/usr/lib/libneon.27.dylib
Referenced from: /usr/bin/svn
Reason: Incompatible library version: svn requires version 30.0.0 or later, but libneon.27.dylib provides version 29.0.0
Trace/BPT trap: 5
One other symptom:
Python is in an odd state. --version says 2.7.2. But now, if I try to import matplotlib, I get the OS X "python ended unexpectedly"
I don't understand the connection between python and subversion; the svn error is a higher priority to fix!
System:
Mac OS X Mountain Lion, up to date, Java 7. XCode and Macports info below
Background / What I've Tried So Far:
I've found 3 svn executable, all give the same error:
- /usr/bin/svn
- /opt/subversion/bin/svn
- /Applications/Xcode.app/Contents/Developer/usr/bin/svn
Updated MacPorts OK
sudo port selfupdate
sudo port upgrade outdated
At one point tried switching to MacPorts' svn, completed ok, but result gives same error
sudo port install subversion
Checked that XCode is up to date (App Store reports 4.6.3 and up to date, though About Xcode says 3.2.6)
Reinstalled XCode command line tools. Now no longer under XCode Preferences, instead you download from the developer site. Got the version for 4.6.1 March 2013 (seemed to be latest), and installed OK.
I've thought about going after the neon stuff, but don't know much about it, and worried I might hose my system further.
Update:
The reason I didn't see Download Command Line tools in XCode preferences was because I was running the wrong copy of XCode. OLD XCode lives under /Developer, new XCode from the App Store lives under /Applications
Running the newer XCode under /Apps, I did update the command line tools, but I'm still having same error as before (library load error, etc, described at top of this post)