[NTG-context] ConTeXt Linux installation issues (due to GLIBC dependency)

Ramkumar KB ramkumarkb at gmail.com
Fri Nov 6 10:31:10 CET 2020

Hello All,

I am having a situation where I have to install and run Context in a Linux
machine but the machine(s) have only RHEL 7.6 (which comes with only
>From the initial error logs it appears that Context needs minimum
GLIBC_2.23. Therefore, I did the following work around and it almost worked
! (there were no more GLIBC_2.23 errors and installation was progressing
well...) , till it did not... :-(

Any tips or suggestions to try would be indeed very helpful. Thanks so much

*Work Around* -
Manually installed GLIBC_2.23 as per the instructions here - in my own
directory where I have full access -

*Patchelf Utility*
Used the patchelf utility - https://anaconda.org/conda-forge/patchelf

*Changed the following Context install files*
*install.sh (just before running mtxrun)*
patchelf --set-interpreter
/my-own-dir/opt/glibc-2.23/lib/ld-linux-x86-64.so.2 --set-rpath
/my-own-dir/opt/glibc-2.23/lib:/usr/lib64 $PWD/bin/mtxrun $PWD/bin/mtxrun
--script ./bin/mtx-install.lua --update --server="$LMTXSERVER"
--instance="$LMTXINSTANCE" --platform="$PLATFORM" --erase
*mtx-install.lua (just before running mtxrunbin)*
run("patchelf --set-interpreter
/my-own-dir/opt/glibc-2.23/lib/ld-linux-x86-64.so.2 --set-rpath
/my-own-dir/opt/glibc-2.23/lib:/usr/lib64 %s", mtxrunbin)
run("%s --generate",mtxrunbin)

*Error that I see (in the step `make luametatex format`) - *
resolvers       | formats | changing to format path '/my-own-dir
resolvers       | formats | executing runner 'make luametatex format': /
my-own-dir/ConTeXt/tex/texmf-linux-64/bin/luametatex --ini
This is LuaMetaTeX, Version 2.08.01
! Undefined control sequence.
<line 3.1019> \voffset
\zeropoint \let\voffset\relax \newdimen\voffset \let\normalvoffset\voffset
! Missing number, treated as zero.
<to be read again>
(That makes 100 errors; please try again.)resolvers       | formats |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20201106/81e7b943/attachment-0001.htm>

More information about the ntg-context mailing list