gcc4.7.2 cc1 error while loading shared libraries

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gcc4.7.2 cc1 error while loading shared libraries

Arthur Tu
$ gcc-4 --version
gcc-4 (GCC) 4.7.2

$ gcc-3 --version
gcc-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

$ gcc-4 helloWorld.c
/usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared
libraries: ?: cannot open shared object file: No such file or directory

$ gcc-3 helloWorld.c
*(success)

$ cygcheck -c|grep gcc
gcc                                      3.4.4-999            OK
gcc-core                                 3.4.4-999            OK
gcc-g++                                  3.4.4-999            OK
gcc-mingw-core                           20050522-3           OK
gcc-mingw-g++                            20050522-3           OK
gcc4                                     4.7.2-2              OK
gcc4-core                                4.7.2-2              OK
gcc4-g++                                 4.7.2-2              OK
libgcc1                                  4.7.2-2              OK
mingw64-i686-gcc-core                    4.5.3-6              OK
mingw64-x86_64-gcc-core                  4.5.3-6              OK



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

Reply | Threaded
Open this post in threaded view
|

Re: gcc4.7.2 cc1 error while loading shared libraries

Arthur Tu
I found this http://cygwin.com/ml/cygwin/2010-10/msg00063.html.

And call cc1.exe from windows native console.

It reported that cygwin1.dll is missing.

However, cygwin1.dll do exist in /bin/, and $CYGWIN/bin/ is in my
windows path.

On 6/19/2013 1:40 PM, Arthur Tu wrote:

> $ gcc-4 --version
> gcc-4 (GCC) 4.7.2
>
> $ gcc-3 --version
> gcc-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
>
> $ gcc-4 helloWorld.c
> /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared
> libraries: ?: cannot open shared object file: No such file or directory
>
> $ gcc-3 helloWorld.c
> *(success)
>
> $ cygcheck -c|grep gcc
> gcc                                      3.4.4-999            OK
> gcc-core                                 3.4.4-999            OK
> gcc-g++                                  3.4.4-999            OK
> gcc-mingw-core                           20050522-3           OK
> gcc-mingw-g++                            20050522-3           OK
> gcc4                                     4.7.2-2              OK
> gcc4-core                                4.7.2-2              OK
> gcc4-g++                                 4.7.2-2              OK
> libgcc1                                  4.7.2-2              OK
> mingw64-i686-gcc-core                    4.5.3-6              OK
> mingw64-x86_64-gcc-core                  4.5.3-6              OK
>
>


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

Reply | Threaded
Open this post in threaded view
|

Re: gcc4.7.2 cc1 error while loading shared libraries

Yaakov (Cygwin/X)
In reply to this post by Arthur Tu
On 2013-06-19 00:40, Arthur Tu wrote:
> $ gcc-4 --version
> gcc-4 (GCC) 4.7.2
>
> $ gcc-4 helloWorld.c
> /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared
> libraries: ?: cannot open shared object file: No such file or directory

For now, this version of gcc requires test versions of most of its
dependencies.  You need to either install those as well, or temporarily
downgrade to 4.5.3 until 4.7.3 is stabilized (should be a matter of days).


Yaakov



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

Reply | Threaded
Open this post in threaded view
|

Re: gcc4.7.2 cc1 error while loading shared libraries

Arthur Tu
Thanks

On 6/19/2013 2:01 PM, Yaakov (Cygwin/X) wrote:

> On 2013-06-19 00:40, Arthur Tu wrote:
>> $ gcc-4 --version
>> gcc-4 (GCC) 4.7.2
>>
>> $ gcc-4 helloWorld.c
>> /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared
>> libraries: ?: cannot open shared object file: No such file or directory
>
> For now, this version of gcc requires test versions of most of its
> dependencies.  You need to either install those as well, or
> temporarily downgrade to 4.5.3 until 4.7.3 is stabilized (should be a
> matter of days).
>
>
> Yaakov
>
>
>
> --
> 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