This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: unable to run any cygwin commands: error while loading shared libraries: C
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 31 Jan 2014 11:38:45 -0500
- Subject: Re: unable to run any cygwin commands: error while loading shared libraries: C
- Authentication-results: sourceware.org; auth=none
- References: <CAK3chpAeWayzSs8-X7oj91S2m9rW6uo0Pzxj+8=yiVNwRgBmiQ at mail dot gmail dot com> <52D706D7 dot 7000704 at cygwin dot com> <CAK3chpDqUBbJDBFW6ww4LFGr5=3wLdZRDvZFD+aGnJqzsJubnA at mail dot gmail dot com> <52D80F74 dot 3030905 at cygwin dot com> <CAK3chpBXoEyXOEsQdcVExMMDoVs=eH1MOjp_MV5PBJ6qZ=jy5g at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
On Fri, Jan 31, 2014 at 03:45:35PM +0000, Mateusz Malinowski wrote:
>I'm pretty sure that it's not a problem with BLODA. I checked
>bash.exe in Dependency Walker. I managed to fix some errors with DLLs
>(it shows more info than cygcheck), nevertheless, I still had the same
>problem. So then I run profiler on bash.exe and later only on
>cygwin1.dll to make sure that results are real. See for yourselves:
>...
>LoadLibraryW("C:\Windows\
>system32\user32.dll") called from
>"CYGWIN1.DLL" at address 0x0000000180041DE4.
>LoadLibraryW("C:\Windows\system32\user32.dll") returned 0x00000000769A0000.
>GetProcAddress(0x00000000769A0000 [USER32.DLL], "EnumWindows") called
>from "CYGWIN1.DLL" at address 0x0000000180041C76 and returned
>0x00000000769B5E28.
>GetProcAddress(0x00000000769A0000 [USER32.DLL], "GetKeyboardLayout")
>called from "CYGWIN1.DLL" at address 0x0000000180041C76 and returned
>0x00000000769B6610.
>LoadLibraryW("\\?\C:\cygwin64\bin\C") called from "CYGWIN1.DLL" at
>address 0x00000001800B9FAC.
>LoadLibraryW("\\?\C:\cygwin64\bin\C") returned NULL. Error: The
>specified module could not be found (126).
>Exited "BASH.EXE" (process 0xA10) with code 256 (0x100).
>
>Does anyone know why it tries to load C:\cygwin64\bin\C (full output
>from profiler in attached file)?
What is your theory about the problem if this isn't something specific
to your computer, i.e., BLODA? Obviously the vast majority of our
community is able to run bash. That points to something running in
the background or misconfigured on your end. If you had to fix some
errors with DLLs then something is really wrong.
cgf
--
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