Re: Unable to clone GIT project
- From
Ben Walton <bdwalton@gmail.com>
- Date
- Sep 17, 2012, 20:36 UTC
- Message-ID
- <CAP30j15=gz9w-ZU+b5Jm+fM1PmYgFrwBwAFxzAcPRsWgNcByOw@mail.gmail.com>
- In-Reply-To
- <20120917202124.GC24888@sigill.intra.peff.net>
> If I had to guess, I'd say it was ssh, the library is installed in a > non-standard place (e.g., because he built them as a regular user and > put them in his home directory), and LD_LIBRARY_PATH does not get set > properly by ssh for the incoming ssh session.
This would be my guess as well. If LD_LIBRARY_PATH is being relied upon though, a more stable solution would be to rebuild git with "-Wl,-rpath /path/containing/libiconv" in the LD_OPTIONS environment. That would remove the need for LD_LIBRARY_PATH at runtime. Any other libraries linked in non-standard locations should also have a similar option if the path to the library differs.
HTH.
Thanks -Ben
-- --------------------------------------------------------------------------------------------------------------------------- Take the risk of thinking for yourself. Much more happiness, truth, beauty and wisdom will come to you that way. -Christopher Hitchens ---------------------------------------------------------------------------------------------------------------------------