LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2019, 06:45 AM   #1
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Question -current glibc on 14.2


I've read elsewhere on this forum that it's safe to run later versions of glibc on 14.2 pulled from -current. Or at least I think what I've been reading is so.
Is this really safe? I do not plan on compiling the kernel or any other such activity.
To do this correctly would I upgrade glibc and glib both?
 
Old 09-25-2019, 06:53 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
Quote:
Originally Posted by tramtrist View Post
I've read elsewhere on this forum that it's safe to run later versions of glibc on 14.2 pulled from -current. Or at least I think what I've been reading is so.
Is this really safe?
no, it's not, most probably all hell will break loose if you do such a thing: you probably misunderstood but in case you didn't I'm curious where that is stated.
Quote:
To do this correctly would I upgrade glibc and glib both?
glib is library used by gtk+1, it's not "related" to glibc (apart that they are both c libraries).

Last edited by ponce; 09-25-2019 at 07:11 AM.
 
Old 09-25-2019, 07:30 AM   #3
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
It should be safe (I will not tell it would) with glibc. Glibc is made, as much it can be, RUNTIME backward compatible. If developers remove some interface, they only remove possibility to compile new software with it. But, for sure, it will be unsafe for glib - this is totally different library from totally different developers
.

However I see no reason to upgrade only glibc. Older binaries won't use newer interfaces, optimization for main architectures is mostly complete, and bugs are minor or hits very limited user base.

If you don't need newer glibc for some reason (i.e. some binary blob requires new one) don't do it. Better update to current if you want just test it.


If you, however, decide to do it, make sure you have at least 3.2 kernel. Otherwise you brick your system.
 
Old 09-25-2019, 07:40 AM   #4
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Original Poster
Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Thanks all.
I wont touch glib. I just confused which package was which.
glibc 2.7 is required for some stuff I want to run/compile. I'll let you know how it goes (this is a VM anyway so it doesnt matter)
 
Old 09-25-2019, 07:43 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
Quote:
Originally Posted by tramtrist View Post
glibc 2.7 is required for some stuff I want to run/compile.
but slackware 14.2 ships glibc-2.23 already...
 
Old 09-25-2019, 07:43 AM   #6
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Original Poster
Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Sorry 2.27
 
Old 09-25-2019, 07:52 AM   #7
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
It will be safer if you try compile your minimal required version 2.27. First try 14.2 slackbuild if it fail, try current slackbuild. If it also fail you may try find "older current" slackbuild with right glibc version. AFAIR some have git repo with past currents. I don't remember if it have only slackbuilds or also packages. But I'm sure someone on this forum know this .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 14.2 glibc-2.23 vs Slackware Current glibc-2.24 and the Current 4.4.17 Kernel kjhambrick Slackware 10 08-13-2016 01:00 AM
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM
Upgrading glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Linux From Scratch 2 07-30-2004 12:34 AM
upgrade glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Red Hat 0 07-28-2004 06:10 AM
Possible bug in glibc-devel-2.2.93-5 and glibc-devel-2.2.5 mark_umr Linux - Software 1 10-22-2002 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration