delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/16/05:34:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=IiDeFxwwRibFJe85MDDy+/cIxBriSru/dIAlaixK0q9
2srLN+EON4dVVXYm7dmMm9B7OAEAMk8jJeFhcc1vkN450OLjP0z+CM3Uq6JajSP8
eF6vO4EZkhSY6x1dkO2bP45hDfL7wy/GDLqMV2Onx2DQK5FZNn1hX738A3UbhQyk
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=E7rzlRt199deJn3Ky4bwj3w4MOQ=; b=BPD3dAl9YhWkKxF1e
HCtOYRsDqI4vogTnV/xUhEz4hHJYCKAm9i2yZxkvxV6bzGeXEcp54HntlPHrU17K
svm6Pf+nL5yh/zJHU8ib5WHOpBFWbD2Y4Fuc9R28hJf0Z+LQYsQEoN9Q+8z0H3bS
KkB034yKCZ4GXo76b7RNwz5xhE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail.lysator.liu.se
Message-ID: <534E4E81.609@lysator.liu.se>
Date: Wed, 16 Apr 2014 11:33:53 +0200
From: Peter Rosin <peda AT lysator DOT liu DOT se>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: libtool: link: object name conflicts in archive
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> <d9e573a45fdb88940ab5064aa333cccb AT mail DOT eclipso DOT de>
In-Reply-To: <d9e573a45fdb88940ab5064aa333cccb@mail.eclipso.de>

On 2014-04-16 09:21, Gisela Haschmich wrote:
> 
>> 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

Did you really rerun configure with the new $PATH? You also need to kill
any configure cache, i.e. if you have one.

Cheers,
Peter


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019