[tex-live] luajittex glibc version and centos 5

Jared Szechy jared.szechy at brilligent.com
Wed Jul 6 00:27:55 CEST 2016

On Tue, Jul 5, 2016 at 6:16 PM, Karl Berry <karl at freefriends.org> wrote:

> Hi Jared,
>     > fmtutil [ERROR]: running `luajittex -ini   -jobname=luajittex
>     > -progname=luajittex luatex.ini </dev/null' return status 1
> Please run that command by hand in the shell and see why it is failing.
> Or look for a luajittex.log file.

./luajittex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by

CentOS 5 has glibc version 2.5, which explains why it doesn't work.

> I build the i386-linux binaries for TL on, as it turns out, CentOS 5
> (fully patched), for precisely the reasons you state.  And the luajittex
> formats build for me.
> Maybe you are on x86_64 and that accounts for the discrepancy?  Those
> binaries were indeed built on a slightly newer system and thus could
> result in the problem.

Yes I'm on a x86_64 system.

>     > At the very least fmtutil needs to be fixed so that it doesn't fail
> Our change to make fmtutil fail if a format fails to build was
> intentional (i.e., to enable --strict by default), since that is, after
> all, logical and almost always desirable.
> Thus, assuming we can't make the formats work for you, it seems to me
> the right thing is for you to disable the jit-related formats.
> Regardless of what we do next year, we won't be rebuilding binaries now.
> One kludgey way to do this would be, I think, to mv the binary to a
> different name.
> The clean way, I believe, would be to create
> $TEXMFLOCAL/web2c/fmtutil.cnf with this line:
> #! luajittex luajittex language.def,language.dat.lua luatex.ini
> (General comments can be introduced with "# ".)
> Sorry, I have no chance to actually test/verify either of these methods
> right now.  Hope it flies.  -k

I actually ended up just patching the install script to use the --no-strict

--- install-tl	2016-06-14 21:41:40.000000000 -0400
+++ install-tl.new	2016-07-05 10:29:53.000000000 -0400
@@ -1040,7 +1040,7 @@
   if ($vars{'option_fmt'}) {
     if (-x "$plat_bindir/fmtutil-sys$progext") {
       info("pre-generating all format files, be patient...\n");
-      $errcount += run_postinst_cmd("fmtutil-sys $common_fmtutil_args --all");
+      $errcount += run_postinst_cmd("fmtutil-sys $common_fmtutil_args
--no-strict --all");
     } else {
       info("not running fmtutil-sys (not installed)\n");

Jared Szechy
*Brilligent Solutions, Inc.*

Office: 937.879.4148 x1007
Fax: 937.879.4158
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20160705/87ed8858/attachment.html>

More information about the tex-live mailing list