This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Re: libtool: link: object name conflicts in archive
- From: "Gisela Haschmich" <cygwin at eclipso dot de>
- To: <cygwin at cygwin dot com>
- Date: Wed, 16 Apr 2014 07:21:25 +0000
- Subject: Re: Re: libtool: link: object name conflicts in archive
- Authentication-results: sourceware.org; auth=none
- References: <7c71eb34219779df3fb3d492f29bcead at mail dot eclipso dot de> <20140415093113 dot GF3271 at calimero dot vinschen dot de> <22601c400b5e0fffb54b32a9d6b2bdf8 at mail dot eclipso dot de> <20140415112757 dot GI3271 at calimero dot vinschen dot de> <534DC67C dot 3080909 at lysator dot liu dot se>
- Reply-to: "Gisela Haschmich" <cygwin at eclipso dot de>
> Side note, the GNU "equivalent" of MS lib.exe is ar. (ld corresponds
> to MS link.exe).
>
> Regarding the issue, it is a bad sign that the archives are named libmbmath.lib,
>
> libmbutil.lib etc. For a Cygwin build, you want them named libmbmath.a. The
> .lib suffix is a clear indicator of a problem earlier in the build, just
> like Corinna said. Is the Cygwin binutils package installed properly? I
> imagine something like this could happen if the binutils install is broken
> and the Microsoft tools are on $PATH (but I haven't tested that).
I tried it now with
$ echo $PATH
/usr/local/bin:/usr/bin:/usr/lib/lapack
and got lib: command not found
/bin/sh ../../libtool --tag=F77 --mode=link gfortran -o liby12.la y12mae.lo y12maf.lo y12mbe.lo y12mbf.lo y12mce.lo y12mcf.lo y12mde.lo y12mdf.lo y12mfe.lo y12mge.lo y12mhe.lo -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../.. -lgfortran -lquadmath -lm -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lltdl -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../.. -lgfortran -lquadmath -lm -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../.. -lgfortran -lquadmath -lm -lcygwin -ladvapi32
-lshell32 -luser32 -lkernel32 -lltdl
libtool: link: lib -OUT:.libs/liby12.lib .libs/y12mae.o .libs/y12maf.o .libs/y12mbe.o .libs/y12mbf.o .libs/y12mce.o .libs/y12mcf.o .libs/y12mde.o .libs/y12mdf.o .libs/y12mfe.o .libs/y12mge.o .libs/y12mhe.o
../../libtool: line 1117: lib: command not found
--
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