2014-10-03 4 views
0

저는 매버릭스와 함께 Mac에서 python3.4/django1.7 작업 환경에서 함께 작업하기 위해 postgres와 git을 얻으려고합니다. 내 문제를 설명하기 위해 간단하다dyld : 기호를 찾을 수 없습니다 : _iconv_open, git와 postgres 사이의 충돌

내 ./bash_profile에 다음 줄을 추가하면, 포스트 그레스 잘 작동합니다 :

export DYLD_LIBRARY_PATH=/Library/PostgreSQL/9.3/lib 

을 그러나, 나는 git status 뭔가를하려고 할 때, 나는 오류 다음 얻을 (이) herehere을 논의하고있다 : 나는 포스트 그레스의 작품을 만드는 줄을 주석 때

dyld: lazy symbol binding failed: Symbol not found: _iconv_open 
    Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/git 
    Expected in: /Library/PostgreSQL/9.3/lib/libiconv.2.dylib 

dyld: Symbol not found: _iconv_open 
    Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/git 
    Expected in: /Library/PostgreSQL/9.3/lib/libiconv.2.dylib 

는, 자식 잘 작동합니다. 나는 둘 다 일하기 위해 무엇을해야합니까?

나는 a workable answer here을 찾았습니다. 보통 때처럼 stackoverflow. 나는 심볼릭 링크를 만드는 것을 선택했다.

답변

1

시도해주세요.

export DYLD_LIBRARY_PATH=/Library/PostgreSQL/9.3/lib:$DYLD_LIBRARY_PATH 
+0

나는 이걸 시험해 보았습니다. 비록 내가 가지고 있었다면 그것은 나를 놀라게하지 않을 것이다. – Cole

관련 문제