On replacing libc6_2.27 with libc6_2.28-10

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
Lassar
Posts: 107
Joined: Mon Jan 18, 2021 12:59 am
Been thanked: 1 time

On replacing libc6_2.27 with libc6_2.28-10

Post 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?

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: On replacing libc6_2.27 with libc6_2.28-10

Post 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.

User avatar
amethyst
Posts: 2414
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 504 times

Re: On replacing libc6_2.27 with libc6_2.28-10

Post 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.

User avatar
mikeslr
Posts: 2959
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 914 times

Re: On replacing libc6_2.27 with libc6_2.28-10

Post 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 :evil:]
It is available via Bionicpup64's Puppy Package Manager.

icewm via PPM.png
icewm via PPM.png (40.7 KiB) Viewed 257 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?

Lassar
Posts: 107
Joined: Mon Jan 18, 2021 12:59 am
Been thanked: 1 time

Re: On replacing libc6_2.27 with libc6_2.28-10

Post 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.

Post Reply

Return to “Users”