[tex-live] TL2018: xetex on FreeBSD depends on libfreetype.so.9 which is missing
Qi Ji
qiji at b0ss.net
Sun May 27 22:54:01 CEST 2018
after the update to TL 2018 I tried
% xetex
Shared object "libfreetype.so.9" not found, required by "xetex"
% ldd /usr/local/texlive/2018/bin/amd64-freebsd/xetex
/usr/local/texlive/2018/bin/amd64-freebsd/xetex:
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x801ec7000)
libfreetype.so.9 => not found (0)
libm.so.5 => /lib/libm.so.5 (0x80210e000)
libc.so.7 => /lib/libc.so.7 (0x802339000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x8026f1000)
libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x8029a7000)
libthr.so.3 => /lib/libthr.so.3 (0x802bd1000)
libz.so.6 => /lib/libz.so.6 (0x802df9000)
libbz2.so.4 => /usr/lib/libbz2.so.4 (0x803012000)
the SONAME has been libfreetype.so.6 since 2014, from
https://svnweb.freebsd.org/ports/head/print/freetype2/pkg-plist?r1=347555&r2=351411
as a workaround, overridding at runtime works,
% export LD_LIBMAP=libfreetype.so.9=libfreetype.so.6
% ldd /usr/local/texlive/2018/bin/amd64-freebsd/xetex
/usr/local/texlive/2018/bin/amd64-freebsd/xetex:
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x801ec7000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.6 (0x80210e000)
libm.so.5 => /lib/libm.so.5 (0x8023c4000)
libc.so.7 => /lib/libc.so.7 (0x8025ef000)
libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x8029a7000)
libthr.so.3 => /lib/libthr.so.3 (0x802bd1000)
libz.so.6 => /lib/libz.so.6 (0x802df9000)
% xetex opentype-info.tex
... works ...
System information: FreeBSD 11.1-RELEASE-p10 amd64. freetype2, fontconfig are
obtained from latest packages.
More information about the tex-live
mailing list