Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: saladin on March 17, 2018, 01:28:04 PM
-
I've triple-checked to verify that I have all dependencies, and all dependencies of dependencies, but when I try to run it, I get the error:
python3: /lib/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/lib/libpython3.6m.so.1.0)
When I browse extensions, there are hundreds of matches with "libc" in the name. Which do I need?
-
Normally we use the APPS > "Provides" function to find the extension containing missing libraries
But libc.so.6 doesn't appear to exist in the current tc-9 repo
-
Hi coreplayer2
That's because libc.so.6 is part of the base system of every Linux install and is found in /lib.
-
So then why doesn't it work? Does this mean there's something wrong with my ISO?
-
Hi coreplayer2
That's because libc.so.6 is part of the base system of every Linux install and is found in /lib.
Doh! I missed that Thanks Rich
tc@box:~$ sudo find / -iname "libc.so.6*"
/lib/libc.so.6
tc@box:~$
-
Hi saladin
Running ls -l on libc.so.6 I get this:
tc@box:~$ ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 12 Nov 16 2011 /lib/libc.so.6 -> libc-2.13.so
tc@box:~$
I'm running a much older version of Tinycore so my libc version is 2.13. What do you get if you run that command?
According to this:
http://forum.tinycorelinux.net/index.php/topic,21605.0.html
It says:
Changelog for 9.0 alpha1:
* kernel updated to 4.14.10
* glibc updated to 2.26
* gcc updated to 7.2.0
* e2fsprogs base libs/apps updated to 1.43.7
* util-linux base libs/apps updated to 2.31
So if you are running TC9 and python is hardcoded to look for version 2.25, that could be the problem.
-
Hi, glibc usually is built with backward compatibility to a wide range of versions.
I believe the OP is most likely using an older version of TC that does not support GLIBC_2.25.
FYI
tc@box:~$ uname -r
4.9.22-piCore-v7
tc@box:~$ strings /lib/libc.so.6 | grep GLIBC
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_PRIVATE
tc@box:~$ uname -r
4.14.10-tinycore64
tc@box:~$ strings /lib/libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_PRIVATE
-
Hi polikuo
... I believe the OP is most likely using an older version of TC that does not support GLIBC_2.25.
That's definitely another possibility. That would suggest the OP is using extensions from a newer repo in an older installation.
-
Hi saladin
What version of Tinycore and which architecture are you running?
-
That's really strange. I thought I was using Core 9.0, which I downloaded maybe two weeks ago. I re-downloaded, just to be sure, and now everything works fine. I guess somehow I ended up using an older version that I had downloaded months back?
-
Hi saladin
So I'm guessing that you manually downloaded python and its dependencies instead of using Apps or tce-load.
-
Yeah, I just think it's a bit of a hassle having to connect to the internet and re-download everything every time I reboot. I will eventually remaster, once I have everything configured the way I want it, but until then, I like keeping my extensions on a disk.
-
Hi saladin
Yeah, I just think it's a bit of a hassle having to connect to the internet and re-download everything every time I reboot.
Most people have a tce directory where extensions are stored so they don't have to keep downloading them. I'd like to
recommend you take an hour to read this:
http://tinycorelinux.net/corebook.pdf
It will provide you with some insight on the ins and outs of Tinycore.
-
Thank you for that. That'll definitely make things easier.