[tex-live] Compatibility matrix for GLIBC for Linux
jfbu
jfbu at free.fr
Tue Jun 6 17:53:05 CEST 2017
Hi
Arthur Reutenauer wrote:
> That page also sounds interesting (“Running new applications on old
> glibc”):
>
> http://www.lightofdawn.org/wiki/wiki.cgi/NewAppsOnOldGlibc
>
>
I started the little game on this Ubuntu 16.04 where I have no admin rights
$ readelf -V `which dvisvgm` | grep 3.4.15
010: 2 (GLIBC_2.2.5) 5 (GLIBCXX_3.4.15) 6 (GLIBC_2.3) 4 (GLIBCXX_3.4)
08c: 4 (GLIBCXX_3.4) 2 (GLIBC_2.2.5) 5 (GLIBCXX_3.4.15) 8 (CXXABI_1.3)
0x0090: Name: GLIBCXX_3.4.15 Flags: none Version: 5
$ readelf -V `which dvisvgm` | grep 2.14
0f8: 4 (GLIBCXX_3.4) 4 (GLIBCXX_3.4) 4 (GLIBCXX_3.4) d (GLIBC_2.14)
0x00e0: Name: GLIBC_2.14 Flags: none Version: 13
$ readelf -s `which dvisvgm` | grep 2.14
251: 0000000000000000 0 FUNC GLOBAL DEFAULT UND memcpy at GLIBC_2.14 (13)
$ readelf -s `which dvisvgm` | grep 3.4.15
17: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSt8__detail15_List_nod at GLIBCXX_3.4.15 (5)
142: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _ZNSt8__detail15_List_nod at GLIBCXX_3.4.15 (5)
This seems to indicate that to palliate
$ dvisvgm --version
dvisvgm: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by dvisvgm)
dvisvgm: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by dvisvgm)
I would have to hack only the two memcpy and (?) _ZNSt8__detail15_List_nod functions
If I had not two overdue over important deadlines I could try it out at least.
Don't know if LD_PRELOAD would be honored though. (I was even surprised readelf
was available; earlier when I connected over ssh I basically had nothing to
my disposable, I only did it to access a "push new files to work homepage" command)
Jean-François
More information about the tex-live
mailing list