LinuxQuestions.org
Review your favorite Linux distribution.
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 03-20-2021, 11:42 AM   #1
firefli
LQ Newbie
 
Registered: Feb 2021
Posts: 27

Rep: Reputation: Disabled
Learning Slackpkg, changelogs.txt and glibc


Hi

After reading the docs regarding slackpkg and it's relationship with the changelogs.txt file
I went through some newbie steps to upgrade packages and the kernel in current. I was going to install the Alpha version of 15 but decided to stay with current as it seems to be progressing towards 15 anyway.

I'm not that familiar with how glibc interacts with apps being installed; only know that it has been described as something to be careful of when upgrading apps or a kernel.

I've also seen it being updated in the current changelogs.txt file - I think more than once in the last little while.

My question is - if I keep using current and glibc changes in the future - all the apps that I have previously installed from Slackbuilds will still work when glibc is upgraded - correct?

I mean, if I build a bunch of slackbuild apps with a slightly older glibc but still fairly recent, the slackbuild packages should still for the most part install ok (on a different computer) when a newer glibc gets installs for current - correct?

Maybe I should go back to the Slackware docs to see if there is some information about this eh?

Thanks

Last edited by firefli; 03-20-2021 at 11:43 AM.
 
Old 03-20-2021, 02:45 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
A package built against older glibc libraries will keep working when you install newer versions of glibc, no worries.
The other way round will result in failure.
Distro packagers who target multiple distro releases with a single binary package will build these binaries against the oldest of the glibc libraries that's available across these releases.

As for your "Alpha version of 15" - there is no such thing. It's still Slackware-current. Slackware's alpha and beta tags are cosmetic, markers in ChangeLog.txt entries, but there's not actually a permanent release for any of these tags. There was Slackware 14.2. There will be Slackware 15.0. Everything inbetween is Slackware-current.
 
2 members found this post helpful.
Old 03-20-2021, 03:03 PM   #3
firefli
LQ Newbie
 
Registered: Feb 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Awesome,

So the question would be - why bother updating glibc? What would force my hand to do that!

Edit: Ok, I get it - build with the lowest glibc and upgrade glibc whenever you can is the way to go.

Thanks Alien Bob!

Last edited by firefli; 03-20-2021 at 03:33 PM.
 
Old 03-20-2021, 04:32 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
[QUOTE=firefli;6232479]Awesome,

So the question would be - why bother updating glibc? What would force my hand to do that!
Quote:
Wrong.
If Slackware updates its glibc, that is the FIRST thing you will have to upgrade as well. If you skip an upgraded glibc, and attempt to upgrade other Slackware-current packages, you will end up with a bricked system because all those Slackware packages WILL be compiled against the newer glibc.

Edit: Ok, I get it - build with the lowest glibc and upgrade glibc whenever you can is the way to go.

Thanks Alien Bob!
I think you will have to read a bit more to get a proper understanding. Your statements do not make sense, perhaps you are interpreting my reply incorrectly.
 
Old 03-20-2021, 07:16 PM   #5
firefli
LQ Newbie
 
Registered: Feb 2021
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi

Pretty sure I did get what you meant but I should have explained myself better.

What I meant after thinking about what you said was build with an old version of glibc on a virtual machine dedicated to making slackbuilds so that any other computer I installed would have a newer version of glibc and therefore would be ok to easily install those slackbuild packages built with the vm.

Thanks for clarifying...

:-)
 
  


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] Newbie question regarding Changelogs and Slackware version matching, tracking, transitioning firefli Slackware - Installation 6 03-21-2021 08:09 PM
cut first 10 lines of file master.txt and paste in ab1.txt and so on yogeshkumkar Programming 4 08-31-2011 07:23 AM
Overview of Slackware versions and ChangeLogs (with search function) niels.horn Slackware 7 08-31-2009 01:27 PM
cat onelinefile.txt >> newfile.txt; cat twofile.txt >> newfile.txt keep newline? tmcguinness Programming 4 02-12-2009 06:38 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

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

All times are GMT -5. The time now is 09:57 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