Problem running git submodule init: "error while loading shared libraries: ?"

jones.noamle jones.noamle@gmail.com
Thu Jan 30 18:51:00 GMT 2014


Fixed by installing gettext.

Why doesn't it print out the name of the missing library?


On 1/29/2014 8:24 PM, Kal Sze wrote:
> On 30 January 2014 05:46, Marco Atzeri wrote:
>>
>> On 29/01/2014 22:35, jones.noamle wrote:
>>> Intro: If you don't know/have time to solve it, I'd still appreciate a
>>> few pointers on how to debug this issue (is a library really missing?
>>> what library is missing?)
>>>
>>> Just did a fresh install of cygwin-x86, added the packages: git,
>>> openssh, ca-certificates, libsasl2. This is on Windows Server 2008 R2
>>> (see attached cygcheck.out)
>>>
>>> I get the following error when running git submodule init:
>>>
>>>       $ git submodule init
>>>       /usr/lib/git-core/git.exe: error while loading shared libraries:
>>> ?: cannot open shared object file: No such file or directory
>>>
>>> Cygwin in general and other git commands (including 'git submodule
>>> update') succeed without errors.
>>>
>>> Running cygcheck on the git executable did NOT find any missing libs:
>>
>> try
>> strace -o /tmp/git.strace git submodule init
>>
>>> Any ideas?
>>>
>>> Thanks!
>>> Noam
>>>
>> Marco
>>
>>
>> --
>> Problem reports:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>
> Is that possibly the same gettext problem that I bumped into a few
> months ago? Basically gettext should be a dependency but is not marked
> as such. So you need to manually install gettext to make that error go
> away.
>
> I don't use Cygwin 32-bit anymore, so I can't confirm.
>
> Kal
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list