Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8170035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:02:46+00:00 2026-06-06T21:02:46+00:00

On my mac, first I installed the xcode which is installed with git already,

  • 0

On my mac, first I installed the xcode which is installed with git already, however the git is old version. When I run which git, the result is: “/usr/bin/git”.

I want to install latest version of git, and use this as the default git. I tried the way on this site: http://git-scm.com/book/en/Getting-Started-Installing-Git

First, i update to the xcode version of git, it doesn’t work.

Then, I tried to download new version of git and install it in the usr/local/git directory, when I run the command “make prefix=/usr/local all”, I got some problem:

ld: library not found for -lintl
collect2: ld returned 1 exit status
make: *** [git-credential-store] Error 1

Anybody knows how to fix this problem?

Also, I tried to download the dmg file and it is installed successfully, but when I run the command git –version, it is still the old version.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T21:02:48+00:00Added an answer on June 6, 2026 at 9:02 pm

    Edit ~/.profile so that the path to the new git directory is before the path to the old git directory so it always find it (and associated files) first. Without this, you will find that the new git will look for supporting files using the system path and will get the ones for the old git, causing a problem.

    Add this line to .profile

    export PATH=/path/to/new/git:$PATH
    

    Then close and reopen the terminal to reload it and do echo $PATH to check.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First, I installed lxml without using pip (Python 2.7.2 on Mac OS 10.6.8). Then,
First I have install Mac 10.6.3 on my system now I want to install
I just installed mysql with homebrew on mac OSX. The very first thing I
i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql
I have just installed boost for the first time on my Intel Mac, and
I have installed the newest iPython in Mac. However, it uses the Python verion
I would like to associate the last installed version of my Mac OS X
I'm using Xcode 4 and am trying to sign my first Mac OS X
I have Lion OSX installed on my Mac and I want to use my
It is first time I'm using python on mac. I installed Python 2.7.1 from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.