tce-load -i compiletc meson cmake pcre-dev gettext-dev perl5 libffi-dev https://ftp.acc.umu.se/pub/GNOME/sources/glib/2.64/glib-2.64.0.tar.xz cd glib-2.64.0 mkdir build cd build CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --localstatedir=/var --libexecdir=/usr/local/lib/glib-2.0 --buildtype=plain -Dselinux=disabled ninja [2m 6.24s] sudo ninja install [compiled on tc-10.x due to:] libgthread-2.0.so.0: cannot open shared object file: No such file or directory $ ldd /usr/local/lib/libgthread-2.0.so.0 linux-vdso.so.1 (0x00007fff05bd1000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007fcd3229a000) libc.so.6 => /lib/libc.so.6 (0x00007fcd3211c000) libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x00007fcd3201f000) /lib/ld-linux-x86-64.so.2 (0x00007fcd322ca000) libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x00007fcd31de4000)