X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 23 Aug 2010 02:15:28 +0800 Message-ID: Subject: Re: Build S-Lang Fail From: Steven Woody To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 22 August 2010 16:53, Csaba Raduly wrote: > On Sat, Aug 21, 2010 at 12:48 PM, Steven Woody =A0wrote: >> 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=3D1 =A0-Dunix -DSLANG >> -DMISC_TERMINFO_DIRS=3D'"/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 =3D> /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c920000) kernel32.dll =3D> /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80= 0000) cyggcc_s-1.dll =3D> /usr/bin/cyggcc_s-1.dll (0x67f00000) cygwin1.dll =3D> /usr/bin/cygwin1.dll (0x61000000) ADVAPI32.DLL =3D> /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da= 0000) RPCRT4.dll =3D> /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e50000) Secur32.dll =3D> /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc00= 00) cyggmp-3.dll =3D> /usr/bin/cyggmp-3.dll (0x63f40000) cygmpfr-1.dll =3D> /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 To= rvalds > "People disagree with me. I just ignore them." -- Linus Torvalds > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > --=20 Life is the only flaw in an otherwise perfect nonexistence =A0 =A0 -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody AT gmail DOT 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