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.
LD_DEBUG=libs xetexto see where XeTeX is looking for libraries.ld.so.cacheusingsudo sh -c "rm /etc/ld.so.cache; ldconfig"/usr/lib/x86_64-linux-gnu/libfontconfig.so.1but that is not looked up by your dynamic linker.libfontconfig1usingdpkg -L libfontconfig1to see wherelibfontconfig.so.1is installed.