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=O206sNpoMmOEL29W uX0ugWjP5ZfkhRjs6tcK7ijlJ7d9n7LWf2QtWjftwPg8wTkjq7FXHZ08yE5OInyd cGg7k1EPIenQlYvuvZnlRcgPpCmyy9vuLCIZXXLbLl0YVaDstLVKAvEk3klM3LPN UUtzvrkHkW7NaZ8CrS6f7cbJtlQ= 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=pC60sjErfVpGxRUnjRj31Z DaHRA=; b=AyasvlxmdtkUaYfmLeb2yaEjE4+xclnQmRitQDl2FE4QyGpjzgyvnT jAugV9AeGczeaHRFDu0/5ZVfji59UnMT3M8gkVsE0NQ0r71adcWebHrjMkKXbK4L k6Pz+/mkkjWThF9DvDPQDhw+W95ChyV4MGM+2HMzFCxfe3y1Pt/Ks= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:e857286, H*MI:sk:e857286, H*i:sk:e857286 X-HELO: mail-wm0-f45.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=lF0BXSq41BTJFUpb4XNg5FLXIcARIG0V2ul+Bp2CfsY=; b=X/FbbQGZPwGylL4wKlhAQTJ/ur5mZ1HvpGB9t4rgNvLnM2/1V2vZLL68kI79yMOkPr v0O0tUQG9v8Eo5/5w8gvGdpfVXB1z+t2eKymmA3GuliVPmXB/07DXiDhKK7PZeV5MigJ EP+dnKwJufHG56kVd5vN6KrqG82Cx3dxo3pFakCmQMIqqDRJ2+GjvFFYu0G/sKRHqRcz C8g5jclWRdaYnJafrPfAtrprs+mb6hR9NYHLYDDivGc2iPVan3SSBbdtkWc5vimSZNS0 y4jwZYeDS6uBgfk5bhOiu9ud8NQGRKpS7aSiU8SDRylvHytnvkmLXb429wiGL4CFMJjA vIWA== X-Gm-Message-State: AEkooutX5G1LNHD+XnIe2U3aGVM3rhQKY5gP78KPx+tqTTbx/4qebkq7GK3b8kuBipn94w== X-Received: by 10.194.97.73 with SMTP id dy9mr15899834wjb.132.1471791873088; Sun, 21 Aug 2016 08:04:33 -0700 (PDT) Subject: Re: libtool: error: cannot find the library '/usr/lib/libxcb.la'... To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: <4b804854-cab1-6107-d853-028bd92323c1@gmail.com> Date: Sun, 21 Aug 2016 17:04:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. On the 64 bit we have no /usr/lib/*.la for the same reason. Regards Marco -- 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