Lovely... I found the solution. So want to share with you all.....

Solution : add /usr/local/lib to /etc/ld.so.conf and run sudo ldconfig

ld.so.conf file includes ld.so.conf.d/*.conf

so I created local-lib.conf having value /usr/local/lib and place 
local-lib.conf under /etc/ld.so.conf.d directory
after that I excuted ldconfig which is under /sbin

and problem has been resolved.

Thanks to all.


-----Original Message-----
From: git-ow...@vger.kernel.org [mailto:git-ow...@vger.kernel.org] On Behalf Of 
Aggarwal, Ankush
Sent: Friday, September 21, 2012 10:54 PM
To: sch...@linux-m68k.org
Cc: p...@peff.net; kusmab...@gmail.com; flatw...@users.sourceforge.net; 
git@vger.kernel.org
Subject: RE: Unable to clone GIT project

I have tried with iconv by adding its path in PATH and LIBRARY Path but failed 
to get any solution...
Still getting below error

c:\Ankush Data\work\Test-GIT\trial_1>git clone 
ssh://bea@<IP>:/home/bea/GIT/sample_project
Cloning into 'sample_project'...
bea@.<IP>:'s password:
git-upload-pack: error while loading shared libraries: libiconv.so.2: cannot 
open shared object file: No such file or directory
fatal: The remote end hung up unexpectedly 


-----Original Message-----
From: Andreas Schwab [mailto:sch...@linux-m68k.org]
Sent: Tuesday, September 18, 2012 2:36 PM
To: Aggarwal, Ankush
Cc: p...@peff.net; kusmab...@gmail.com; flatw...@users.sourceforge.net; 
git@vger.kernel.org
Subject: Re: Unable to clone GIT project

<ankush_aggar...@dell.com> writes:

> On Linux machine
>       Installed libiconv-1.14 unded /usr/local/lib path.

Why do you need that library?  iconv is part of glibc.  Moreover, git wouldn't 
link against libiconv anyway unless you explicitly ask for it.

Andreas.

--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5 "And 
now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a 
message to majord...@vger.kernel.org More majordomo info at  
http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to