[tex-live] dvisvgm can't find libgs

Martin Gieseking martin.gieseking at uos.de
Fri Nov 16 09:48:23 CET 2012

Am 15.11.2012 23:59, schrieb Karl Berry:
>     The version of dvisvgm distributed with TeXLive 2012 can't seem to
>     find libgs automatically
> It works for me on CentOS 5.  I have /usr/lib/libgs.so there.
>     if I point its location with --lib-gs
> This sounds like your libgs.so is somewhere that it doesn't know to
> look.
> In any event, thanks for the report, but this is an issue with dvisvgm,
> not TeX Live, so can you please send the report to the maintainer,
> Martin Gieseking <martin.gieseking at uos.de>?  Please also tell him where
> your libgs.so is, since presumably that's the critical piece of
> information.

I think Florêncio refers to the linkage variant used to build the
dvisvgm binary. Ghostscript can be linked directly so that the
PostScript support is always available. In this case, the dvisvgm
command-line option --libgs is not present. The executable just requires
the properly versioned libgs, e.g. libgs.so.9.

If the libgs development files were not installed during the build
process, the resulting binary tries to load libgs.so via dlopen(), and
additionally provides option --libgs that can be used to give an
alternative filename.

At least, this is the default behavior of the original dvisvgm build
system. I'm not sure if the modified configuration files in TeX Live
offer the same build variants too.


More information about the tex-live mailing list