.
Hey guys. I've been trying to get the smartmontools Debian package (.DEB file) to work on Kirkstone. I've been successful in previous attempts to get .DEBs to install and work, but this one's giving me problems.
As usual I doubleclicked the .DEB file in Rox, it installed, then I run the executable (in this case, "smartctl") to see if it complains about missing stuff, then the idea is that I try to install the stuff it complains about. This method has worked in the past.
On first run, it complained about this:
Code: Select all
smartctl: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
So I grabbed that file from elsewhere on my system (out of some flatpak directory), copied it into /usr/lib/, ran smartctl again, and got this complaint:
Code: Select all
smartctl: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libselinux.so.1)
Searching the package manager PKGget for the string "GLIBC" shows that my Kirkstone has 2.35-r7 installed, not 2.38.
At this point I tried uninstalling the smartmontools package (the Bookworm version) and installing a older version of it (the Buster version) and got the exact same error message, which I then realized is because smartctl isn't asking for GLIBC 2.38, rather libselinux is asking for it instead, and libselinux isn't part of the smartmontools package at all.
So I don't know what to do now. Updating GLIBC, if could even figure out how to do it, seems risky, I guess I could put an earlier version of libselinux in /usr/lib, if I knew where/how to get it. Any ideas?
I could probably just boot into my old Easy Buster USB stick and install smartmontools with the normal package manager with no problems at all? That would be feasible because I only need to use this package once a month to health-check my hard drives. Or, I could make a new Easy Daedalus USB stick (which I should probably do anyway because it's reportedly awesome) and install it there.
This is why a Debian-based Easy is so fantastic, compared to OpenEmbedded. There's none of this manual B.S. and headaches to endure when installing software.