TransWikia.com

texlive-2020 / xetex can't find shared library libfontconfig.so.1

TeX - LaTeX Asked on December 29, 2020

I installed vanilla TeX Live 2020 on my Debian-based system, Knoppix 8.6.1, according to the manual at http://www.tug.org/texlive/quickinstall.html

Whenever I try to start xelatex I get this error-message:

$ xelatex
xelatex: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

Whenever I try to start xetex I get this error-message:

$ xetex
xetex: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

Question:

What am I to do to get xetex / xelatex to work ?


$ sudo apt-get install libfontconfig1

yields the following message:

libfontconfig1 is already the latest version (2.13.1-2).


$ sudo apt-get install fontconfig

yields the following message:

fontconfig is already the latest version (2.13.1-2).


Edit/Answer:

Shame on me:

I found out that the TeX Live installer assumed the wrong platform:

x86_64-linux instead of i386-linux .

The system in question, Knoppix 8.6.1, is based on Debian/stable (buster), with some packages from Debian/testing and unstable (sid) for newer graphics drivers or desktop software packages. It uses Linux kernel 5.3.5 and Xorg 7.7 (core 1.20.4).

The system in question can be used as a Live-System which can be installed on DVD/USB-stick/(micro) SD-memory-card as well.

Therefore i386-binaries are used by this system no matter if the machine in use is i386 or x86_64.

I ran this system on an x86_64-machine.

Thus the command arch yielded: x86_64
while the command dpkg --print-architecture yielded i386.

The TeX Live Installer "assumed" an x86_64-platform which I didn’t realize.

If you run the installer as described in the linked manual, i.e., via the command sudo ./install-tl -gui, then on x86_64-machines installation for x86_64-platforms is pre-entered in the "Advanced" settings of the GUI no matter if Debian-i386-binaries are in use (which is possible with x86_64-machines). And you can’t change this pre-entered setting in the GUI-"Advanced"-screen but only have i386-binaries installed additionally to the x86_64-binaries.

Removing the erroneous x86_64-TeX Live installation and running the installer with the -force-platform-option, i.e., via the command sudo ./install-tl -gui -force-platform i386-linux now gave me a TeX Live-installation with i386-binaries where everything works smoothly.

Sorry for the noise.

One Answer

While the TeX Live installer could detect this specific case (as mentioned on the mailing list, and I will discuss this with Karl), a solution could be to

dpkg --add-architecture amd64
apt-get update
apt-get install libfontconfig1:amd64

should work, too.

Answered by norbert on December 29, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP