Tiny Core Linux
Tiny Core Base => Corepure64 => Topic started by: Zhurman on June 30, 2025, 08:17:31 AM
-
Hi, I needed fakechroot for my Tiny Core system, so I manually packaged it from the Arch Linux repo. I also added the full packages of glibc and libxcrypt to include the necessary shared libraries (*.so files). After loading the extensions and trying to run fakechroot, I got a segmentation fault three times, and it usually breaks the system - only sudo poweroff still works properly.
Here’s my .dep file:
readline.tcz
ncursesw.tcz
glibc.tcz
gdbm.tcz
db.tcz
libxcrypt.tcz
fakeroot.tcz
coreutils.tcz
util-linux.tcz
Also, running ldd on fakechroot causes a segmentation fault with the same result.
What can I do to get fakechroot working correctly? Or is writing my own minimal implementation a more valid solution?
[EDIT] I also see the Alpine Linux, maybe I start work with this?
-
Hi Zhurman
Welcome to the forum.
When asking for help, it's usually a good idea to include:
Tinycore version i.e TC14, TC15, TC16, etc.
Architecture i,e, x86, x86_64, arm, aarch64
The exact command that is causing the issue.
Hi, I needed fakechroot for my Tiny Core system, so I manually packaged it from the Arch Linux repo. ...
Grabbing binaries from other distros can be a hit or miss exercise.
... I also added the full packages of glibc and libxcrypt to include the necessary shared libraries (*.so files). After loading the extensions and trying to run fakechroot, I got a segmentation fault three times, and it usually breaks the system - only sudo poweroff still works properly. ...
Did you try running it with the -s option:
fakechroot -s ...
Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):
https://github.com/dex4er/fakechroot
-
When asking for help, it's usually a good idea to include:
Tinycore version i.e TC14, TC15, TC16, etc.
Architecture i,e, x86, x86_64, arm, aarch64
The exact command that is causing the issue.
OK, sure.
TC16.1, architecture x86_64
Did you try running it with the -s option:
fakechroot -s ...
That command also give segfaults and breaks my system.
Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):
[EDIT] Starting to try.
-
Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):
https://github.com/dex4er/fakechroot
That's works! Thanks :D
And sorry to have bothered you.
-
Hi Zhurman
That's works! Thanks :D ...
You are welcome. Glad I could help.
... And sorry to have bothered you.
You were no bother at all. You ask a few questions, solved
your problem, and reported your success.
Everyones problems should be this easy. :)