Skip to main content

Posts

Showing posts from 2021

Running new programs on old linuxes with incompatible glibc. Or putting lipstick on a pig

 I'm back trying to run new programs on ancient linuxes, but this time I'm not going through the recompiling hassles I described here: https://adrianpopagh.blogspot.com/2021/06/installing-borg-backup-on-old-fedora.html Since I'm getting an error while compiling python3 as described above: # make gcc -pthread -Wl,-rpath /usr/local/lib    -Xlinker -export-dynamic -o python Programs/python.o -L. -lpython3.9 -lcrypt -lpthread -ldl  -lutil -lrt -lm   -lm Programs/python.o(.text+0x1): In function `main': ./Programs/python.c:15: undefined reference to `Py_BytesMain' collect2: ld returned 1 exit status make: *** [python] Error 1 ... I'm trying to move the compiled code directly on this RHEL4 machine. Without success, sadly: # /opt/python3/bin/python3 /opt/python3/bin/python3: /lib64/tls/libc.so.6: version `GLIBC_2.7' not found (required by /opt/python3/lib/libpython3.9.so.1.0) /opt/python3/bin/python3: /lib64/tls/libc.so.6: version `GLIBC_2.6' not found (requir

Installing borg backup on an old Fedora Core 8 server

 If you're coming from the Wild West of servers, you may have the occasional old/unmaintained/13 year uptime server living fine and well in your management. You know you desperately need to wipe the server and reinstall a modern OS, but alas, there is no time for that and you need to add new software on top of old servers. Well, strap in, it's going to be a long journey. So - the goal is to install https://www.borgbackup.org/ on a server that is so old that it doesn't even know how to connect to https sites anymore, because its openssl uses TLS 1.0. The server comes with perl-5.8.8, openssl 0.9.8b, python 2.5.1 and we need to install a python3 program that requires openssl 1.1.  $ wget https://github.com/borgbackup/borg/releases/download/1.1.10/borg-linux64  --11:52:45--  https://github.com/borgbackup/borg/releases/download/1.1.10/borg-linux64            => `borg-linux64' Resolving github.com... 140.82.121.4 Connecting to github.com|140.82.121.4|:443... connected. O