[tex-live] tl7 getting closer

Thomas Esser te@informatik.uni-hannover.de
Tue, 14 May 2002 06:38:16 +0200


> and (one?) problem already mentioned by someone on that list: there
> are many stations with Linux RH 6.x and Xdvi cannot run on such systems
> because of missing shared libraries: libXaw.so.7
> Cannot be cured like pdfTeX, etc. ??

Let's look at the libraries that xdvi uses on a SuSE 7.2 system:

$ ldd /usr/local/bin/xdvi.bin 
        libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0x4001e000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40075000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4008c000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400da000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400e4000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400fc000)
        libm.so.6 => /lib/libm.so.6 (0x401de000)
        libc.so.6 => /lib/libc.so.6 (0x401fd000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4031a000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40328000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I think that every lib except that libXaw.so.7 exists even on RH 4.2.
So, yes, I think that linking libXaw statically would dramatically
improve the portability of the binary.

Still, I don't think that this should be automated via configure /
Makefile. Some handish linking should do. One needs, however, to have
a static version of that library (i.e. libXaw.a). I don't have it on my
system... :-(

Thomas