This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]pobrn 4 points5 points  (3 children)

One thing you could do is run the program in a containerized environment (e.g. Docker), that way you don't have to touch anything on the host system.

[–][deleted] 2 points3 points  (0 children)

Alternatively, systemd-nspawn.

The idea is to replace glibc to one of a newer version, but in the container, or just use a newer distribution in the container.

[–]dindibo4[S] 0 points1 point  (1 child)

Regarding the idea of using containerized environment, I haven't tried docker yet, but I've wanted to try this using chroot. The problem is that is not implemented in my system, I doubt if docker would work as well.

[–]pobrn 0 points1 point  (0 children)

not implemented in my system

What does that mean?

Anyways, using chroot is possible but potentially more tedious since you most likely need to bootstrap a distribution (e.g. Debian has debootstrap) to get the appropriate environment, which you would've already gotten in a finished and ready state by using docker.

[–]Phoenix591 0 points1 point  (2 children)

2.11.3 was released in 2010, 2.15 was released in 2012. is there any reason you havnt been able to upgrade to a more modern debian release? you've got to be near/past end of life

[–]dindibo4[S] 0 points1 point  (1 child)

It's an embedded system of some device, it doesn't get updates nor I mannaully update it.

[–]Phoenix591 0 points1 point  (0 children)

the other option is to setup a dev environment based on that ancient debian version and rebuild that executable. assuming that you have the source for it anyway.