Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 17 Dec 2000 13:12:18 -0800 From: Steve Kelem Subject: Re: Problems compiling perl module Compress-Zlib with perl To: "Charles S. Wilson" Cc: Cygwin Message-id: <3A3D2C32.30307@pacbell.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001108 Netscape6/6.0 X-Accept-Language: en References: <3A3B15AB DOT 9080001 AT pacbell DOT net> <3A3C4251 DOT 6E792EB4 AT ece DOT gatech DOT edu> <3A3CFF77 DOT 8030701 AT pacbell DOT net> <3A3D1097 DOT F2515A34 AT ece DOT gatech DOT edu> <3A3D1275 DOT 5090509 AT pacbell DOT net> <3A3D189C DOT 194D9A85 AT ece DOT gatech DOT edu> Charles S. Wilson wrote: >>>> -L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a >>>> /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a >>>> dllwrap: no export definition file provided >>>> dllwrap: creating one, but that may not be what you want >>>> collect2: installation problem, cannot exec `/home/kelem/bin/sh/ld': No >>>> such file or directory >>> >>> >>> What is this /home/kelem/bin/sh/ld ?? collect2 *should* be calling >>> /usr/bin/ld.exe. >> >> I have a file called ld.sh. Why is it being invoked? I don't have a >> file called ld or ld.exe. >> I tried deleting the file, and I get the same result. > > > I don't know. I'm stumped. Try renaming /usr/bin/collect2.exe. If > collect2 is missing, gcc will directly invoke ld.exe -- hopefully gcc > will locate the correct ld, since you've somehow managed to get collect2 > terminally confused. > > --Chuck > > I searched for collect2.exe on /g (cygwin is installed in G:\cygwin) and found: 441580091 27 -rwxr-xr-x 1 kelem None 54272 Nov 9 22:09 /g/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe 1055031969 27 -rwxr-xr-x 1 kelem None 55296 Feb 7 2000 /g/PRC-Tools/H-i586-cygwin32/lib/gcc-lib/m68k-palmos/2.95.2-kgpd/collect2.exe 137271073 27 -rwxr-xr-x 1 kelem None 54272 Nov 9 22:09 /g/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe 415310720 28 -rwxr-xr-x 1 kelem None 56832 Nov 21 1999 /g/lib/gcc-lib/i686-cygwin/2.95.2/collect2.exe Are any of these valid? Thanks, Steve -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com