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 09-08-2020, 04:19 PM   #1
glestwid
LQ Newbie
 
Registered: Apr 2018
Posts: 16

Rep: Reputation: Disabled
Question Need to upgrade GLIBC from 2.27 to 2.28


I am trying to run my app on my Slackware 14.2 installation and get the following error:
Code:
guest@porteus:/mnt/sdc1/dist$ ./myapp
Traceback (most recent call last):
  File "myapp.py", line 15, in <module>
  File "/usr/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "tkinter/__init__.py", line 36, in <module>
ImportError: /lib/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/_MEITHbyjk/libtcl8.6.so)
[1920] Failed to execute script myapp

guest@porteus:/mnt/sdc1/dist$ ldd --version
ldd (GNU libc) 2.27

What should I do to have my GLIBC upgraded to 2.28 w/o losing of compatibility of already installed apps??
 
Old 09-08-2020, 05:05 PM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,508

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Quote:
Originally Posted by glestwid View Post
I am trying to run my app on my Slackware 14.2 installation and get the following error:
Code:
guest@porteus:/mnt/sdc1/dist$ ./myapp
Traceback (most recent call last):
  File "myapp.py", line 15, in <module>
  File "/usr/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "tkinter/__init__.py", line 36, in <module>
ImportError: /lib/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/_MEITHbyjk/libtcl8.6.so)
[1920] Failed to execute script myapp

guest@porteus:/mnt/sdc1/dist$ ldd --version
ldd (GNU libc) 2.27

What should I do to have my GLIBC upgraded to 2.28 w/o losing of compatibility of already installed apps??
Upgrading the GLIBC is usually a very bad idea, unless your skills are of a distro maintainer grade. And even your skill are fine, will probably require tons of work, because likely will be introduced legions of smaller or greater issues (and even crashes) on the other software from your system.

I believe that we should look at a distribution release as a certain set of software, on certain versions, tuned to work together.

Then, instead of daring to changing core elements of this certain set of software, I believe is better to find a software with a particular older version, which works fine on your system.

I know that sounds disappointing, BUT Slackware 14.2 have a certain 4 years old age now, and not every latest software from today works fine on it.

IF you cannot live without your particular software in that particular modern version which requires a newer GLIBC, I suggest you to go a full distro upgrade to a newer version.

Unfortunately, the single newer variant beyond Slackware 14.2 is Slackware-current, which is the development tree, then I do not recommend you to jump to it unless you are willing to become a beta-tester of Slackware.
 
2 members found this post helpful.
Old 09-08-2020, 05:38 PM   #3
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
guest@porteus

good luck with this.

As a first point to start , you have glibc-2.27 , strange , cause 14.2 provide 2.23 not 2.27.

You NO HAVE 14.2 slackware installation , then no ask here , ask porteus team.

Last edited by USUARIONUEVO; 09-08-2020 at 05:42 PM.
 
2 members found this post helpful.
  


Reply

Tags
glibc



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
upgrade glibc-2.3 to glibc-2.5 Tux-Slack Slackware 9 01-03-2011 06:40 AM
how to upgrade glibc-2.3 to glibc-2.4 safely on RHEL4? samengr Linux - Software 3 01-31-2009 01:30 PM
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
newb question on GNU glibc-2.3.1 upgrade to GNU glibc-2.3.2 clindy528 Slackware 1 11-10-2005 06:49 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

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

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