[tlbuild] dvisvgm

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri Feb 10 20:28:50 CET 2017


On 10 February 2017 at 17:04, Apostolos Syropoulos wrote:
> 2017-02-10 12:52 GMT+02:00 Mojca Miklavec:
>>
>> Undefined                       first referenced
>>  symbol                             in file
>> libintl_gettext
>> ../libs/ff-woff/libfontforge.a(nowakowskittfinstr.o)
>> ld: fatal: symbol referencing errors. No output written to dvisvgm
>>
> https://www.gnu.org/software/gettext/FAQ.html#integrating_undefined

Thank you. Adding -lintl "helped" (I don't know why the flag wasn't
there in the first place). The binary was linked. But then it failed
to run:

ld.so.1: dvisvgm: fatal: libintl.so.9: open failed: No such file or directory

> ldd texk/dvisvgm/dvisvgm-src/src/dvisvgm
        libm.so.2 =>     /lib/libm.so.2
        libc.so.1 =>     /lib/libc.so.1
        libintl.so.9 =>  (file not found)

The machine contains
    /usr/lib/libintl.so -> ../../lib/libintl.so.1*
    /usr/lib/libintl.so.1 -> ../../lib/libintl.so.1*
    /opt/csw/lib/libintl.so -> libintl.so.9.1.4*
    /opt/csw/lib/libintl.so.2*
    /opt/csw/lib/libintl.so.3*
    /opt/csw/lib/libintl.so.8 -> libintl.so.8.1.1*
    /opt/csw/lib/libintl.so.8.1.1*
    /opt/csw/lib/libintl.so.9 -> libintl.so.9.1.4*
    /opt/csw/lib/libintl.so.9.1.4*
but it would be a bad idea to link against anything in /opt/csw for
the final TL anyway (I suspect that the proper way would be to link
against libintl statically if that's one of requirements).

Mojca


More information about the tlbuild mailing list