3
I’m trying to use GIT from the terminal (Mac OS X), but the following error is appearing:
$ git help
dyld: lazy symbol binding failed: Symbol not found: _iconv_open
Referenced from: /Library/Developer/CommandLineTools/usr/bin/git
Expected in: /Library/PostgreSQL/9.3/lib/libiconv.2.dylib
dyld: Symbol not found: _iconv_open
Referenced from: /Library/Developer/CommandLineTools/usr/bin/git
Expected in: /Library/PostgreSQL/9.3/lib/libiconv.2.dylib
I’ve reinstalled the command line tools and the error still persists when using some command git
In my .bashrc
I am using the following path...:
export DYLD_LIBRARY_PATH=/Library/PostgreSQL/9.3/lib
...because I am using virtualenv and the virtual environment was not being able to identify postgresql, I already commented this line and restarted the machine and still continues the same error. Despite some solutions on the internet, I did not find one that would solve my question.
The same problem was because I had referenced the DYLD_LIBRARY_PATH to another path in the file
.profile
, but thanks for the collaboration.– Paulo
Oops, I didn’t see you had found the problem of "remains of paths" postgrsql when posted. I’ll leave the answer anyway because I believe it can help other users in the same situation.
– Anthony Accioly