[tex-live] TeX Live 2007 xetex, xdvipdfmx shared library woes on Solaris 10 sparc

George N. White III gnwiii at gmail.com
Tue May 8 19:33:59 CEST 2007


On 5/8/07, Paul Eggert <eggert at cs.ucla.edu> wrote:

> Vladimir Volovich <vvv at vsu.ru> writes:
>
> > if you know of a more portable solution which will work on both
> > Solaris 8 and 10, please let me know.
>
> Here are two possible solutions.
>
> 1.  Statically link the libraries in question.
>
> 2.  Distribute the Blastwave library as part of TeX Live, as a set of .so files.
>
>     . Have install-tl.sh install the .so files into
>       /usr/local/texlive/2007/lib, e.g.,
>       /usr/local/texlive/2007/lib/libexpat.so.0.  Since these libraries
>       depend on each other, you'll probably have to relink them as part of
>       installation, to specify the -R options for them.
>
>     . Have install-tl.sh link xetex and xdvipdfmx as part of installation.
>       The link can specify
>       -L /usr/local/texlive/2007/lib
>       -R /usr/local/texlive/2007/lib.

For SGI IRIX64 you can have "-rpath
/usr/local/texlive/2007/lib:/usr/<X>/lib" so
TL doesn't have to install libraries that exist in "/usr/<X>/lib", but
preserves the
option of using TL's versions if the sys admins can't be bothered to
install them.

> (1) is much simpler for you to implement, though it generates larger
> executables and is less "nice" in that it makes it harder to just
> update libraries.

(1) also allows users to install TL outside /usr/local.

I'd prefer to that TL distribute "basic" stuff statically linked, but
support local compiles
using dynamic linking (sites that are fussy about security fixes ought
to be able to
compile things themselves, but shouldn't be expected to rebuilt TL
everytime one library
gets a security patch).

-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia


More information about the tex-live mailing list