Possible Windows 7 issue? cc1.exe: error while loading shared libraries: ?

Stephen Leake stephen.a.leake@nasa.gov
Mon Oct 4 18:20:00 GMT 2010


Taggart Ashby <unknownsoldier1445@gmail.com> writes:

> Hello,
> I am wondering if anyone has encountered or might now how to fix the
> following issue:
>
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe: error while loading shared libraries:
>  ?: cannot open shared object file: No such file or directory

I got a similar message when trying to install Cygwin from scratch. I
think the missing dll was cyggcc_s-1.dll (sorry, I did not take good
notes). I had to copy that file from a .tar.gz to /bin by hand, then the
install went thru.

Apparently there is a missing dependency.

Note: if you run an executable from Windows Explorer, you get a better
message about what DLL is missing (MS finally did something right!).

> I have been using cygwin with ease for a couple years now, but
> recently things aren't quite working out.
>
> This issue started when I upgraded my operating system to Windows 7 64-bit.
>
> Anytime I attempt to compile a C or C++ program (cc1plus.exe in that
> case), I get the above error. I only get the error if I attempt to
> compile from the windows command prompt.

That makes it sound like a path problem.

-- 
-- Stephe

--
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