Installing git on linux

Posted by Chris Barnes Thu, 24 Apr 2008 12:32:00 GMT

Trying to install git from source on our linux server (we're running RHEL4 at work) and I was getting an error running make.

undefined reference to `libiconv'

Running make like this worked.

make install CFLAGS="-liconv"

But after the install was finished, running git barfed at me about loading a shared library libiconv.so.2.

I had to edit /etc/ld.so.conf and add /usr/local/lib and run ldconfig.

Credit Mark Turner for the ldconfig tip. Thanks man.

Trackbacks

Use the following link to trackback from your own site:
http://blog.randomutterings.com/articles/trackback/29

Comments - Leave a response

  1. Avatar
    cialis mastercard over 2 years later:
    It was nice to read your blog. The thoughts are very well laid out and it was refreshing to read. I was able to find the information that I was looking for. I just wanted to leave a comment as a token of appreciation.
  2. Avatar
    linux over 2 years later:
    I am not sure where you are getting your information, but great topic
  3. Avatar
    Wealth Trigger Review over 3 years later:
    It is no use doing what you like ; you have got to like what you do .http://www.wealthtriggerreview.org/
  4. Avatar
    Jordan Spizike over 3 years later:
    The best and most beautiful things in the world can not be seen or even touched, they must be felt with heart. Jordan Spizike.
  5. Avatar
    coach bags over 3 years later:
    It was nice to read your blog. The thoughts are very well laid out and it was refreshing to read. I was able to find the information that I was looking for. gucci bag
  6. Avatar
    viagra pour homme en pharmacie over 3 years later:
    It was nice to read your blog. The thoughts are very well laid out and it was refreshing to read. I was able to find the information that I was looking for. I just wanted to leave a comment as a token of appreciation.
  7. Avatar
    Admission Essays over 3 years later:
    Perfect! These articles written too great,they rich contents and data accurately.they are help to me.I expect to see your new share"
  8. Avatar
    http://dissertationhelpuk.yolasite.com/ over 3 years later:
    The technology behind this is so good. Its all about web applications now. They have to get better and better due to the better technology. The work that you are doing is so good.