delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/21/17:37:15

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=tgKG85TiLUdie1hR
PghOcP5SqI4eUFqmUpvCgJm13KUca4BhtSc/XYA46Lcds7EgiPZGqxGTd1gO50T2
4MgrZT4DLlTaEwgrVA+qpifYgIivoNyQW409VujyDRna1fY3renJ7MbPakz1Ldqf
iE4LE4DX14MBIp2TDprsubVIZuQ=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ZtgC+aERbeCUKwrGqKLIZJ
xquUo=; b=IpH3KLquy6+qEELVAUIO78wjLo32SzfvXKsbm7CiXCICW9WQoQMEu6
EILmAA8cgLDGqqfksKkMKKa0Ggq0MMIJbDRRJ+FV6zMskFM4kI8IR2Z017y2wFmD
pqG3Z8McUoYZEzMsFzPhmb4PlsCFcfUEJVn7Ru4hO8Q2hGYEm0jgM=
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.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:bd9b, H*MI:sk:4b80485, H*i:sk:4b80485, H*f:sk:4b80485
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: libtool: error: cannot find the library '/usr/lib/libxcb.la'...
To: cygwin AT cygwin DOT com
References: <cd21273d-5faa-3f9e-3c3d-cf8874dd9d91 AT cornell DOT edu> <e8572865-0204-3bda-6bfa-f40f9443446e AT cornell DOT edu> <4b804854-cab1-6107-d853-028bd92323c1 AT gmail DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <30dac0fe-1a38-4279-bd9b-df021f6f13c7@cornell.edu>
Date: Sun, 21 Aug 2016 17:36:46 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <4b804854-cab1-6107-d853-028bd92323c1@gmail.com>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 8/21/2016 11:04 AM, Marco Atzeri wrote:
> On 21/08/2016 06:01, Ken Brown wrote:
>> On 8/20/2016 5:54 PM, Ken Brown wrote:
>>> I'm trying to rebuild texlive, and the build on x86 is failing as
>>> follows:
>>>
>>> make[2]: Entering directory
>>> '/home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/build/texk/xdvik'
>>>
>>>
>>> /bin/sh ./libtool  --tag=CC   --mode=link gcc -Wimplicit -Wreturn-type
>>> -Wdeclaration-after-statement -Wno-unknown-pragmas -ggdb -O2 -pipe
>>> -Wimplicit-function-declaration
>>> -fdebug-prefix-map=/home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/build=/usr/src/debug/texlive-20160520-2
>>>
>>> -fdebug-prefix-map=/home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/src/texlive-20160520-source=/usr/src/debug/texlive-20160520-2
>>>
>>> -o xdvi-bin.exe main.o libxdvi.a
>>> /home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/build/texk/kpathsea/libkpathsea.la
>>>
>>> -lfreetype  -Xlinker --allow-multiple-definition  -lXaw -lXmu -lXt
>>> -lSM -lICE -lXi -lXext -lXpm -lX11
>>> libtool:   error: cannot find the library '/usr/lib/libxcb.la' or
>>> unhandled argument '/usr/lib/libxcb.la'
>>>
>>> (/usr/lib/libxcb.la was removed from the x86 distro in the recent
>>> update of libxcb-devel.)
>>
>> I think I found the problem, but I don't have access to my build machine
>> right now to test it: Several /usr/lib/*.la files include the
>> non-existent /usr/lib/libxcb.la in their dependency_libs.  In
>> particular, this is true of /usr/lib/libXext.la.  So I'm guessing that
>> the presence of -lXext in the libtool command line is causing libtool to
>> look for /usr/lib/libxcb.la.
>>
>> Can someone confirm this guess?  If I'm right, then it seems that
>> /usr/lib/libxcb.la should be restored until all packages that depend on
>> it can be rebuilt.
>>
>> Ken
>>
>
> my usual solution it to remove the /usr/lib/*.la that is calling the
> /usr/lib/libxcb.la.
> This is also what Yaakov proposed as general solution.

Removing /usr/lib/libXext.la solved the problem.  Thanks for your help.

Ken


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