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: gcc4.7.2 cc1 error while loading shared libraries

I found this

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

$ 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:
Unsubscribe info:

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