Page 1 of 1
On replacing libc6_2.27 with libc6_2.28-10
Posted: Sat Dec 04, 2021 1:00 am
by Lassar
Been working on getting icewm 29.0-1 working on bionic pup.
In order for it to work, libc6_2.28-10 need to be installed.
Is there a way to replace libc6_2.27 with libc6_2.28-10?
It seems to be a waste of disk space to include libc6_2.28-10 with libc6_2.27.
It would better to replace ibc6_2.27 with libc6_2.28-10.
Is this possible?
Re: On replacing libc6_2.27 with libc6_2.28-10
Posted: Sat Dec 04, 2021 3:10 pm
by OscarTalks
I would say, don't do it. Don't approach this task this way. The library libc6 (sometimes also called glibc - and not to be confused with glib by the way) is very much a core system library. Changing it is likely to break things and should not be necessary. If you use packages (such as .debs) from the correct repos for the Puppy version, those packages will already be matched with the existing libc6 version in the Puppy. Likewise if you compile your own packages from source code in the Puppy version you are using, the package will be linked and matched with the libc6 version in that Puppy, so no need to upgrade or change the version. So a package of icewm which is designed for Bionic Pup will NOT require modification to libc6 at all. If it does, you are attempting to install the wrong version (or build) of icewm.
Re: On replacing libc6_2.27 with libc6_2.28-10
Posted: Sat Dec 04, 2021 3:40 pm
by amethyst
You can try to copy the newer library to /usr/lib and rename it to that of the older library (you will have to rename the old library first to whatever you want). Don't know if it will work but it's a quick way to try it.
Re: On replacing libc6_2.27 with libc6_2.28-10
Posted: Sat Dec 04, 2021 4:17 pm
by mikeslr
Stop.. Repeating bigpup's question on your other thread, Where did you obtain the icewm package? [Don't start two threads on the same subject; and do provide all the information we need in the ONE thread you do start ]
It is available via Bionicpup64's Puppy Package Manager.
- icewm via PPM.png (40.7 KiB) Viewed 256 times
It is highly unlikely that a package created to be used with Ubuntu Bionic Beaver would require newer libraries than those built-into Bionic Beaver.
libc is a 'foundation' library. Many applications in an operating system have been built upon the specific foundation, in the case of Bionicpup64 libc6_2.27. Installing libc6_2.28 alone will break those applications.
Battleshooter developed a technique which MikeWalsh refers to and provides here, https://oldforum.puppylinux.com/viewtop ... 023764&i=1. But even that may result in some builtin applications being broken.
If your computer can use libc6_2.28, and want the applications built on that foundation why aren't you running a Puppy which has been built with libc6_2.28 as one of its foundations?
Re: On replacing libc6_2.27 with libc6_2.28-10
Posted: Sun Dec 05, 2021 6:01 pm
by Lassar
Found a Debian libc6_2.28-10 deb.
Installed it and it runs just fine.
The new version of icewm icewm_2.9.0-1 runs very good.
Since the Symbolic links point to so files with a ending of -2.28.so, is
it possible to simply remove all so files with a ending of -2.27.so to
make the puppy smaller.