This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Problems compiling perl module Compress-Zlib with perl


> >> -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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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