Yosemite curl bug

While trying to start my new Yosemite machine, I found this error while installing HomeBrew and MacPorts.

Library not loaded: /usr/local/lib/libcurl.4.dylib Referenced from: 
/usr/local/bin/curl Reason: Incompatible library version: curl requires version 8.0.0 or later, but libcurl.4.dylib provides version 7.0.0

      

I tried a different answer here and elsewhere, but ended up settling on the method left in the answers section.

+3


source to share


1 answer


The error mentions that curl files are located at:

/usr/local/bin/curl

      

But after some digging I found that there was a different version of curl located at



/usr/bin/curl

      

Since the version inside / usr / local / bin / curl was causing an error, I decided to copy the files from / usr / bin / curl to / usr / local / bin / curl. That's all, now everything is fine.

+3


source







All Articles