This is the mail archive of the
mailing list for the Cygwin project.
Re: Possible Windows 7 issue? cc1.exe: error while loading shared libraries: ?
- From: Stephen Leake <stephen dot a dot leake at nasa dot gov>
- To: <cygwin at cygwin dot com>
- Date: Mon, 4 Oct 2010 17:20:37 -0100
- Subject: Re: Possible Windows 7 issue? cc1.exe: error while loading shared libraries: ?
- References: <AANLkTinsuWKdqDRRU77TEi90jmf4Pa-JZukk6yhLTCcZ@mail.gmail.com> <AANLkTimwBhsB8XTTCG_Er9vuUn_6=LDc8PgVQNOD0Jca@mail.gmail.com>
Taggart Ashby <email@example.com> writes:
> 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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple