Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sun, 17 Dec 2000 13:12:18 -0800
From: Steve Kelem <s_kelem@pacbell.net>
Subject: Re: Problems compiling perl module Compress-Zlib with perl
To: "Charles S. Wilson" <cwilson@ece.gatech.edu>
Cc: Cygwin <cygwin@sourceware.cygnus.com>
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.9080001@pacbell.net> <3A3C4251.6E792EB4@ece.gatech.edu>
 <3A3CFF77.8030701@pacbell.net> <3A3D1097.F2515A34@ece.gatech.edu>
 <3A3D1275.5090509@pacbell.net> <3A3D189C.194D9A85@ece.gatech.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@sourceware.cygnus.com

