[tex-live] x64 libXau

George N. White III gnwiii at gmail.com
Wed Dec 24 12:57:56 CET 2008


On Tue, Dec 23, 2008 at 8:31 PM, Karl Berry <karl at freefriends.org> wrote:
>    64bit:
>
>    /usr/X11R6/lib/libXau.a
>    /usr/X11R6/lib64/libXau.a

So RH uses static linking for libXau on this platform.   One way to
handle this it
to make a libXau.so from the libXau.a, which may be as simple as:

$ gcc -shared -o libXau.so libXau.a

Since the OP survived the original error, nothing real bad is likely
to happen if xdvi dumps core. There is little loose in trying the
above hack, and it could be helpful to others.

>    32bit:
>
>    /usr/X11R6/lib/libXau.a
>
>    there are no libXau.so on either system
>
> Right, so, as expected, RH does it differently than Gentoo.  Not a
> surprise.
>
> >From this, it would work better to compile x86_64-linux on an RH system,
> since then libXau would be statically linked, and the result will
> probably work fine on Gentoo et al., while the reverse is not true.
> This should possible to do, next time around.

In general, redhat produces binaries that work across more platforms,
in part because they tend to be conservative about innovations and
because their paying customers want minimum price/performance, so
RH needs to be careful with a platform's resources.


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


More information about the tex-live mailing list