On 22 August 2010 16:53, Csaba Raduly <rcs...@gmail.com> wrote: > On Sat, Aug 21, 2010 at 12:48 PM, Steven Woody wrote: >> Hi, >> >> I got following error when I was compiling s-lang for cygwin: >> >> cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2 >> -DBUILD_DLL=1 -Dunix -DSLANG >> -DMISC_TERMINFO_DIRS='"/usr/share/terminfo"' >> /home/narke/src/slang-2.2.2/src/sltermin.c >> /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while loading shared >> libraries: ?: cannot open shared object file: No such file or >> directory > > Apparently, it can't find a shared library. What's the output of
Thanks. The question is that what's the missing share library? > > ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe $ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c920000) kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000) cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x67f00000) cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000) ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da0000) RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e50000) Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc0000) cyggmp-3.dll => /usr/bin/cyggmp-3.dll (0x63f40000) cygmpfr-1.dll => /usr/bin/cygmpfr-1.dll (0x6cd80000) > > -- > Life is complex, with real and imaginary parts. > "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus > Torvalds > "People disagree with me. I just ignore them." -- Linus Torvalds > > -- > 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 > > -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com) -- 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