Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

not able to use svn command from terminal in Mac OS 10.8

Team

SVN commands were working fine in terminal. I have uninstalled and installed the latest version of my svnclient. from then, i'm not able to access the svn commands from terminal in my mac. following is the error message i see in terminal

dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/svn Reason: image not found Trace/BPT trap: 5

I'm using Mac OS 10.8.2

Kindly help me to fix this.

like image 780
shatthi Avatar asked Feb 06 '13 10:02

shatthi


People also ask

Can we use SVN on Mac?

You can get SVN with Xcode, Homebrew, MacPorts, and probably other sources as well.


1 Answers

It looks like your local copy of "svn" (installed in /usr/local/bin) is dependent on a library that doesn't exist in /opt/local/lib anymore (which might have gone away when you uninstalled and re-installed the latest version of your svn client).

On my own machine, "svn" was installed into the "/usr/bin" directory via the Xcode command line tools, which you can download from Apple directly here (look at the "Looking for additional developer tools?" link) or you can install the command line tools directly from Xcode preferences (look in the "Downloads" tab, there will be a "Components" section). Once you install the command line tools, you can them "rm" the copy of svn that's in "/usr/local/bin".

like image 97
Michael Dautermann Avatar answered Oct 03 '22 04:10

Michael Dautermann