I installed git 1.7.4.4 long time ago. And I want to upgrade to git 1.7.11.
However, when I run
sudo make prefix=/usr/local install
it gives this error:
ld: library not found for -lintl
collect2: ld returned 1 exit status
make: * [git-credential-store] Error 1
How to solve it?
thanks
I just had the same error message while trying to build wireshark on OSX Lion. It looks like GNU gettext provides libintl. In my case, I had installed gettext via homebrew, but the symlinks were not in place, so running:
brew link gettext
fixed the problem for me.
If you don't have gettext
installed, you may want to install it, either using homebrew or otherwise.
I certainly haven't tried it, but this appears to be a libintl someone built for OS X.
If you don't know how to point configure to it, you can just copy it into your /usr/lib folder so it can be found.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With