Tiny Core Linux
Tiny Core Base => Corepure64 => Topic started by: dutuka on February 25, 2021, 06:43:09 PM
-
Hello TCL community,
I installed Thunderbird (thunderbird-appimage.tcz) and tried to update to the last version (78.8.0) but it said no permission. Can I update Thunderbird with Apps or tce-update?
I found "thunderbird-78.8.0.source.tar.xz" from DistroWatch: https://distrowatch.com/table.php?distribution=tinycore
Would it help me somehow to install Thunderbird last version?
Thanks.
-
Hi dutuka
Extensions can not be updated that way. They need to be repackaged.
A .tcz contains a read only file system, kind of like a CD or ,iso file. You can mount it to access the the contents, but
you can't alter the contents.
-
Thank you, Rich. What is the best way to install the last Thunderbird version?
Is it possible to download the normal linux version from Mozilla page and run the installation? or do I need to convert it to .tcz first then use tce-load.
-
Hi dutuka
If you look over here:
http://tinycorelinux.net/4.x/x86/tcz/src/thunderbird/
There you will find thunderbird.build which is the script that was used to package Thunderbird. There are also support
files required for the extension:
thunderbird.desktop
thunderbird.ins
thunderbird.png
The build script actually requires a precompiled tarball.
... Is it possible to download the normal linux version from Mozilla page and run the installation? or do I need to convert it to .tcz first then use tce-load.
Download the precompiled tarball:
https://www.thunderbird.net/en-US/
You will need to modify SRCNAM=thunderbird-17.0.3.tar.bz2 in the build script to match the tarball you download.
You may need to adjust other items in the script to accommodate changes that may have occurred to Thunderbird
over the years.
You will need to install squashfs-tools.tcz.
-
I have downloaded the required files:
thunderbird.desktop
thunderbird.ins
thunderbird.png
thunderbird-78.8.0.tar.bz2
installed squashfs-tools.tcz
SRCNAM is change to: SRCNAM=thunderbird-78.8.0.tar.bz2
what should I do as next step?
-
Make the build script executable and run it.
-
I run the script, i dont know if it was successful, can you check the log in attachment.
-
Hi dutuka
It looks like it created thunderbir.tcz.
I did see one error:
xargs: strip: No such file or directory
The only impact that has is the extension may be larger than it needs to be. If you want, you can install binutils.tcz
and run the script again to make it smaller.
After the script is run, you can find thunderbird.tcz in /tmp/thunderbird/. Copy it to your tce/optional/ directory.
The /tmp/ directory is not persistent. When you reboot, its contents are lost.
Create a dependency file like this:
echo dbus-glib.tcz > thunderbird.tcz.dep
echo libasound.tcz >> thunderbird.tcz.dep
echo gtk2.tcz >> thunderbird.tcz.dep
Copy it to your tce/optional/ directory.
Then:
tce-load -i thunderbird
An icon should appear for thunderbird. Click it to see if it starts. If you have a problem, open a terminal and enter
thunderbird. If you get error messages, post them.
-
Thank you Rich. Thunderbird does not start when I click on the icon, it does not start in terminal, too. You can check my screenshot in attachment.
-
Hi dutuka
Do this:
sudo ls -Rl /tmp/tcloop/thunderbird > tbirddir.txt
Attach the tbirdir.txt file to your next post.
-
I attached it.
-
Hi dutuka
I don't know why this did not work for you.
I just followed the instructions I posted using TC10 32 bit and Thunderbird starts both from the command line and
using the icon.
-
Hi dutuka
I added thunderbird to the TC12 32 bit repository if you want to run 32 bit.
I'm looking into why the 64 bit version doesn't work.
-
Hi Juanito
It appears the 64 bit version is not starting because there is no /lib64. If I do this:
sudo ln -s /lib /lib64
Then it works.
Is this the correct solution, or is there some prefix that can be added to the thunderbird command that will force it to use /lib ?
-
If the thunderbird binary is pre-compiled, the only choice is to add a symlink in the startup script.
If thunderbird is compiled on tinycore, it should automatically find the loader in the right place.
-
Hi Juanito
Thanks. This is one of the pre-compiled packages Mozilla offers.
-
Hi dutuka
Thunderbird has been posted to the TC12 64 bit repository.
Remove the old extension from your tce/optional directory:
rm -f /etc/sysconfig/tcedir/optional/thunderbird.tcz*
Reboot your machine. Then:
tce-load -wi thunderbird
-
Hi Rich, thank you for your help. I tried to install Thunderbird on a fresh TC12 -32 bit and get it installed, but it still does not start. From terminal, it shows this error:
thunderbird: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
On fresh TC12 -64 bit it worked on first attemtp. Thank you so much :)
-
Hi dutuka
... thunderbird: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory ...
Thank you for reporting that. Does it start if you install gcc_libs.tcz ?
-
Still not, I installed gcc_libs.tcz and started thunderbird, it shows this error:
XPCOMGlueLoad error for file /tmp/tcloop/thunderbird/usr/local/thunderbird/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM
-
Hi dutuka
Install gtk3.tcz.
-
After running firefox_getLatest.tcz and have firefox installed, Thunderbird starts now.
-
Ok, I run:
tce-load -i gtk3.tcz
then Thunderbird starts successfully without having firefox loaded.
-
Hi dutuka
Excellent. Thank you for testing. The dependency file has been updated.