This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Mon, Oct 4, 2010 at 11:20 AM, Stephen Leake <stephen.a.leake@nasa.gov> wrote:
> 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


The path is set to C:/cygwin/bin which is where it is located. :-\

~Tag Ashby

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]