[tlbuild] dvisvgm

Apostolos Syropoulos asyropoulos at gmail.com
Fri Feb 10 20:40:12 CET 2017


2017-02-10 21:28 GMT+02:00 Mojca Miklavec <mojca.miklavec.lists at gmail.com>:
> 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).
>

On OI/hipster

$ ldd dvisvgm
    libm.so.2 =>     /lib/64/libm.so.2
    libc.so.1 =>     /lib/64/libc.so.1

simply because libc contains everything required...

In your case, try to link libintl.a (if there is such a file) to the
final binary.
Use the following:

https://stackoverflow.com/questions/14889941/link-a-static-library-to-a-shared-one-during-build
http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2006-11/msg00549.html

A.S.

-- 
Apostolos Syropoulos
Xanthi, GREECE


More information about the tlbuild mailing list