---
title: "Can't locate SVN/Core.pm in @INC"
author: "贝壳水母"
date: "2016-06-27T17:15:07Z"
tags: []
categories: ["操作系统"]
slug: "can-t-locate-svn-core-pm-in-inc"
draft: false
lastmod: "2016-06-27T17:15:07Z"
id: 2307548
url: "https://shineonly.iteye.com/blog/2307548"
---

from:<https://paulschreiber.com/blog/2015/11/09/fixing-git-svn-on-os-x-el-capitan/>

由于ei capitan新增的rootless，sourcetree遇到Can't locate SVN/Core.pm in @INC时处理方式需要改为


```Terminal

sudo mkdir /Library/Perl/5.18/auto
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN /Library/Perl/5.18/darwin-thread-multi-2level
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN /Library/Perl/5.18/auto/

```