libtool: error: cannot find the library '/usr/lib/libxcb.la'...

Ken Brown kbrown@cornell.edu
Sat Aug 20 23:09:00 GMT 2016


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've never really understood .la files and when they're needed.  Can someone point me in the right direction for tracking down this error?  I've looked at the libtool script, and there's no substantial difference between the x86 and x86_64 cases, so I have no idea why libtool expects to find /usr/lib/libxcb.la on x86.

Thanks.

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



More information about the Cygwin mailing list