Missing .la files
Mon Feb 17 20:15:00 GMT 2014
On 17/02/2014 20:28, Ken Brown wrote:
> I know there has been a change in cygport so that by default, .la files
> are no longer shipped. But the .la files for fontconfig, expat, and
> freetype are needed for the Cygwin build of xetex.exe for the native TeX
> Live distribution. This is a static build. (Native TeX Live uses
> static builds to reduce library dependencies.)
> The .la files are present in the x86 distro but not the x86_64 distro.
> Without the .la files, libtool produces a link command line
> g++ ... -o xetex.exe ... -lfontconfig -lexpat -lfreetype ...,
> resulting in error messages like
> cannot find -lfontconfig
> With the .la files present, the command line becomes
> g++ ... -o xetex.exe ... /usr/lib/libfontconfig.dll.a
> /usr/lib/libexpat.dll.a /usr/lib/libfreetype.dll.a ...
that is not a static build, as you are linking with shared ones
> A workaround is to copy the .la files from my x86 installation to my
> x86_64 distro. Is there a different way I should be dealing with this?
> If not, can the .la files for those three libraries be added to the
> x86_64 distro?
I guess there is a partial/broken .la chain.
Strange because we have almost no .la files in 64bit distro.
As test try to move away all *.la file from /usr/lib
and see if the configure+build works
More information about the Cygwin-apps