Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Install glibc 2.23

Help for Current Versions of MX
Post Reply
Message
Author
User avatar
RonaldV
Forum Novice
Forum  Novice
Posts: 2
Joined: Thu Sep 20, 2018 8:04 am

Install glibc 2.23

#1 Post by RonaldV » Mon Oct 01, 2018 5:44 am

Trying to find my way in MX linux. Looks good.
I have a 64 bits in which I want to install not the latest 2.24 libc but the 2.23 version.
I run lots of old gcc 2.96 compiled programs on many systems that I can not opdate.
The 64 bits MX will be part of those systems to gradualy move away from 32 bits.
But it must be capable to run those old binaries.
I have installed 2.24 libc but that end in an "Fatal error: GLIBC detected an invalid stdio handle"
If I copy 2.23 libc from a Mint 19 (as a test) it works.
So the question is: how do I install 2.23 libc in MX with help of a package manager,
or "dpkg <libc6-i386_2.23-0ubuntu10_amd64.deb>

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4481
Joined: Wed Jul 12, 2006 4:05 pm

Re: Install glibc 2.23

#2 Post by timkb4cq » Mon Oct 01, 2018 10:48 pm

First of all, changing libc6 is definitely not recommended. It's a core library against which nearly everything else in a distribution is compiled.
With versions this close you might get away with it, and were you to decide to do so, I would recommend getting the latest libc6 2.23 from the debian snapshot repository rather than using an ubuntu build.

However, there is a safer alternative. Get that debian libc6_2.23, unpack it somewhere and copy the .so files to a reasonable spot (I'd probably use /opt/lib/libc6/). Then use this guide
https://unix.stackexchange.com/question ... newer-libc
to create launchers or bash scripts which run those old binaries with the older libc6. You're much more likely to keep a stable system that way.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
RonaldV
Forum Novice
Forum  Novice
Posts: 2
Joined: Thu Sep 20, 2018 8:04 am

Re: Install glibc 2.23

#3 Post by RonaldV » Fri Oct 05, 2018 7:18 am

Thank for the reply, but I wanted to install a 32 bits version of libc, not the 64 bits one.
I downloaded the latest I could find before 2.24 ( libc6-i386_2.19-18+deb8u10_amd64) and all is running wel.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16962
Joined: Fri Dec 15, 2006 8:07 pm

Re: Install glibc 2.23

#4 Post by Stevo » Fri Oct 05, 2018 3:12 pm

There's also the options of just running Jessie or MX 16 in a virtual machine for your older programs, or in an schroot.

Post Reply

Return to “MX Help”