Author Topic: Headaches Getting Thunderbird Working  (Read 9293 times)

Raybot

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Headaches Getting Thunderbird Working
« on: July 25, 2005, 07:10:23 am »
Hi all!

I've just brought home a shiny new C3000 ... and have been fighting Debian ever since :-(

The first thing I wanted to do was get Thunderbird working ... I installed the jumbo GTK-X11 pack as per http://www.users.on.net/~hluc/myZaurus/jumbo/xqtjumbo.html and things seemed OK ... I installed Gimp and it worked (although editing 5 megapixel images didn't really work very well in the limited 64MB RAM!), xterms worked, Firefox worked, things looked groovy.

Then I installed Thunderbird. And whenever I try to run it, it gives me the error:

Code: [Select]
/usr/lib/thunderbird-0.6/thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot load shared object file: No such file or directory
I'm running the default, stock Sharp ROM. I've tried all sorts of things, from installing versions of libstdc++ from the various OpenZaurus feeds (doing the "ar -x <package>" then re-tar.gz'ing as necessary) to uninstalling and reinstalling all sorts of things to no avail. Except every now and again, it gives me another bizzare error, instead of missing libstdc++.so.5, it complains about a missing libgtk-x11-2.0.so.0 (which I've checked does actually exist in /opt/QtPalmtop/lib). Generally this happens when I try to run thunderbird as root (but even THEN not always).

I'm tearing my hair out (and hence adding to the headache)! I've been trawling these forums (and a pile of other websites) for the last 4 hours with no success (on that note, is it just me or does highlighting in this forum break if you have more than 1 search term?). Can anyone shed any light on this? DOES Thunderbird work with the standard ROM?


I've also been trying to get SSL working (to open the possibility of using ompi) but that opens yet another can of worms relating to, for instance, the fact that /lib is read-only (and various dependancies seem to want to write new versions there). Anyone got any hints for that one?


- Raybot

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Headaches Getting Thunderbird Working
« Reply #1 on: July 25, 2005, 08:06:04 am »
Quote
Hi all!

I've just brought home a shiny new C3000 ... and have been fighting Debian ever since :-(

The first thing I wanted to do was get Thunderbird working ... I installed the jumbo GTK-X11 pack as per http://www.users.on.net/~hluc/myZaurus/jumbo/xqtjumbo.html and things seemed OK ... I installed Gimp and it worked (although editing 5 megapixel images didn't really work very well in the limited 64MB RAM!), xterms worked, Firefox worked, things looked groovy.

Then I installed Thunderbird. And whenever I try to run it, it gives me the error:

Code: [Select]
/usr/lib/thunderbird-0.6/thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot load shared object file: No such file or directory
I'm running the default, stock Sharp ROM. I've tried all sorts of things, from installing versions of libstdc++ from the various OpenZaurus feeds (doing the "ar -x <package>" then re-tar.gz'ing as necessary) to uninstalling and reinstalling all sorts of things to no avail. Except every now and again, it gives me another bizzare error, instead of missing libstdc++.so.5, it complains about a missing libgtk-x11-2.0.so.0 (which I've checked does actually exist in /opt/QtPalmtop/lib). Generally this happens when I try to run thunderbird as root (but even THEN not always).

I'm tearing my hair out (and hence adding to the headache)! I've been trawling these forums (and a pile of other websites) for the last 4 hours with no success (on that note, is it just me or does highlighting in this forum break if you have more than 1 search term?). Can anyone shed any light on this? DOES Thunderbird work with the standard ROM?


I've also been trying to get SSL working (to open the possibility of using ompi) but that opens yet another can of worms relating to, for instance, the fact that /lib is read-only (and various dependancies seem to want to write new versions there). Anyone got any hints for that one?


- Raybot
[div align=\"right\"][a href=\"index.php?act=findpost&pid=89418\"][{POST_SNAPBACK}][/a][/div]

You will need to install libstdc++.so.5.0.5 and link it to libstdc++.so.5

using openzaurus binaries with the standard sharp rom is not a very good idea. you'd be better off using pdaxrom binaries, except the kathrin ones.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Raybot

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Headaches Getting Thunderbird Working
« Reply #2 on: July 26, 2005, 01:15:49 am »
Thanks for that, Meanie!

Where could I get a safe version of libstdc++.so.5.0.5 from? Everywhere I look, the earliest version I can find is 6.0.3. I tried installing a version I found for Familiar but it's complaining about GCC and glibc versions (which, being in /lib, are readonly - I'm not so sure remounting as read/write is a good idea, they must be read-only for a reason ... or are they?).

Alternatively, given I've not yet transferred much across now, would another ROM (OpenZaurus perhaps) be more suitable for getting things like this working? I'd like to use this as a little Linux laptop (web/email, organizer - I've got the kpim suite working, some gcc/g++ development) so compatibility with the more widely available set of packages is quite important (starting with a version of ipkg that actually understands both formats!).


Cheers!

- Raybot
« Last Edit: July 26, 2005, 01:21:52 am by Raybot »

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Headaches Getting Thunderbird Working
« Reply #3 on: July 26, 2005, 05:51:59 am »
Quote
Thanks for that, Meanie!

Where could I get a safe version of libstdc++.so.5.0.5 from? Everywhere I look, the earliest version I can find is 6.0.3. I tried installing a version I found for Familiar but it's complaining about GCC and glibc versions (which, being in /lib, are readonly - I'm not so sure remounting as read/write is a good idea, they must be read-only for a reason ... or are they?).

Alternatively, given I've not yet transferred much across now, would another ROM (OpenZaurus perhaps) be more suitable for getting things like this working? I'd like to use this as a little Linux laptop (web/email, organizer - I've got the kpim suite working, some gcc/g++ development) so compatibility with the more widely available set of packages is quite important (starting with a version of ipkg that actually understands both formats!).


Cheers!

- Raybot
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

try [a href=\"http://www.users.on.net/~hluc/myZaurus]http://www.users.on.net/~hluc/myZaurus[/url]

the libstdc5-compat-sharp package should have what you need.

also, the only stable rom for C3000 is sharp rom. none of the other roms is stable enough to use for real work, so they might be fun to play with but be careful if you need your C3K for serious stuff.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

rebski

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Headaches Getting Thunderbird Working
« Reply #4 on: July 26, 2005, 03:48:45 pm »
Where to find Meanie’s build of thunderbird_0.6-1_arm.ipk?

Raybot

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Headaches Getting Thunderbird Working
« Reply #5 on: July 27, 2005, 03:37:59 am »
OK I'm now convinced my Zaurus is taunting me :-(

Did a full reset then installed:
- openssh-[addon|client|server]-3.6.1p1_arm.ipk
- sudo_1.6.4p7-2_arm.ipk
- wlan-prism3_1.0.0_arm.ipk
- custom-jaen_arm.ipk (actually c3000-custom-jaen_0.1_arm.ipk but it doesn't like the filename)
- qkonsole/qpeterminal
- xqt-gtk-jumbopack_0.4.3-0.6_arm.ipk
- libstdc5-compat-sharp_0.5_arm.ipk
- libiconv_1.8-2_arm.ipk
- thunderbird_0.6_armv5tel.ipk

Thunderbird's post-install script errors out with:
Code: [Select]
Configuring thunderbird...//usr/lib/ipkg/info/thunderbird.postinst: 4: Syntax error: "fi" unexpected (expecting "then")I can't figure out why this happens - the script itself seems reasonable. At any rate, I figure it's the post-install, it's the last thing that runs and the if-then that it errors out on doesn't trigger anyway.

And when I try to run thunderbird (after setting DISPLAY=localhost:0)

I get the following:
Code: [Select]
$ thunderbird

(thunderbird-bin:2839): Gdk-WARNING **: Error converting from UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-8859-1'

(thunderbird-bin:2839): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
*** global extensions startup!
*** profile extensions startup

(thunderbird-bin:2839): GdkPixbuf-WARNING **: Can not open pixbuf loader module file '/opt/QtPalmtop/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

followed by a pile of errors of the sort:
Code: [Select]
(thunderbird-bin:2839): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
followed by:
Code: [Select]
** (thunderbird-bin:2839): WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/opt/QtPalmtop/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(thunderbird-bin:2839): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed

** (thunderbird-bin:2839): CRITICAL **: file pango-engine.c: line 68 (_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed

** ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
Aborted

*sigh* am I missing something fundamental here?!


- Raybot
« Last Edit: July 27, 2005, 03:45:07 am by Raybot »

Raybot

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Headaches Getting Thunderbird Working
« Reply #6 on: July 27, 2005, 04:03:36 am »
OK I think I've been staring at this for too long and it's making my brain go weird ... install pango_1.4.1_arm.ipk (I thought this existed in the jumbo package but I reinstalled it anyway) and xqt-libXrenderer_1.2.2_arm.ipk and thunderbird is a little bit happier ... still has a pile of similar warnings to before (especially the gdk-pixbuf.loaders and character set conversion errors) but it actually loads now.

*sigh*

OK onto the next hurdle!

- Raybot

xfaethorx

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Headaches Getting Thunderbird Working
« Reply #7 on: August 25, 2005, 05:57:17 am »
I've been having some rough problems getting this to work on my SL-C3100 and I'm still a little stuck. I've tried installing 3 different versions of the thunderbird package 2 and all though the claim to be the same. I tired meanies package but it claims theres tar problems with it and generally wont install  so I gave up with that and used :  thunderbird_0.6_arm5tel.ipk installs ok from the console.


now (obviously I have X/QT jumbo installed) when I come to try and execute thunderbird heres what happens

su -
xlauncher thunderbird

/usr/thundrbird-0.6/thunderbird-bin : /home/QtPalmtop/lib/libgcc_so.so.1; version 'GCC_3.3' not found (required by /home/QtPalmtop/lib/libstdc++.so.5).

these are the ipks i have installed.

- libstdc5-compat-sharp_0.5_arm.ipk
- libiconv_1.8-2_arm.ipk
- thunderbird_0.6_armv5tel.ipk

what annoys the crap out of me is that under debian workstation i can launch thunderbird no problems but its dog slow just like firefox, but if you launch it firefox not inside debian it works quicker hence why im trying to get these tools working under X/QT.

all help appriciated here. I've only had my zaurus a week so im still a bit new to everything.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Headaches Getting Thunderbird Working
« Reply #8 on: August 25, 2005, 06:48:12 am »
Quote
I've been having some rough problems getting this to work on my SL-C3100 and I'm still a little stuck. I've tried installing 3 different versions of the thunderbird package 2 and all though the claim to be the same. I tired meanies package but it claims theres tar problems with it and generally wont install  so I gave up with that and used :  thunderbird_0.6_arm5tel.ipk installs ok from the console.


now (obviously I have X/QT jumbo installed) when I come to try and execute thunderbird heres what happens

su -
xlauncher thunderbird

/usr/thundrbird-0.6/thunderbird-bin : /home/QtPalmtop/lib/libgcc_so.so.1; version 'GCC_3.3' not found (required by /home/QtPalmtop/lib/libstdc++.so.5).

these are the ipks i have installed.

- libstdc5-compat-sharp_0.5_arm.ipk
- libiconv_1.8-2_arm.ipk
- thunderbird_0.6_armv5tel.ipk

what annoys the crap out of me is that under debian workstation i can launch thunderbird no problems but its dog slow just like firefox, but if you launch it firefox not inside debian it works quicker hence why im trying to get these tools working under X/QT.

all help appriciated here. I've only had my zaurus a week so im still a bit new to everything.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93190\"][{POST_SNAPBACK}][/a][/div]
Interesting... I don't have /home/QtPalmtop/lib/libgcc_so.so.1

see if you have /usr/lib/libgcc_s.so.1, if you do, tnen try renaming the above to something else and try running thunderbird again.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

xfaethorx

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Headaches Getting Thunderbird Working
« Reply #9 on: August 25, 2005, 09:21:18 am »
Quote
Quote
I've been having some rough problems getting this to work on my SL-C3100 and I'm still a little stuck. I've tried installing 3 different versions of the thunderbird package 2 and all though the claim to be the same. I tired meanies package but it claims theres tar problems with it and generally wont install  so I gave up with that and used :  thunderbird_0.6_arm5tel.ipk installs ok from the console.


now (obviously I have X/QT jumbo installed) when I come to try and execute thunderbird heres what happens

su -
xlauncher thunderbird

/usr/thundrbird-0.6/thunderbird-bin : /home/QtPalmtop/lib/libgcc_so.so.1; version 'GCC_3.3' not found (required by /home/QtPalmtop/lib/libstdc++.so.5).

these are the ipks i have installed.

- libstdc5-compat-sharp_0.5_arm.ipk
- libiconv_1.8-2_arm.ipk
- thunderbird_0.6_armv5tel.ipk

what annoys the crap out of me is that under debian workstation i can launch thunderbird no problems but its dog slow just like firefox, but if you launch it firefox not inside debian it works quicker hence why im trying to get these tools working under X/QT.

all help appriciated here. I've only had my zaurus a week so im still a bit new to everything.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93190\"][{POST_SNAPBACK}][/a][/div]
Interesting... I don't have /home/QtPalmtop/lib/libgcc_so.so.1

see if you have /usr/lib/libgcc_s.so.1, if you do, tnen try renaming the above to something else and try running thunderbird again.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93198\"][{POST_SNAPBACK}][/a][/div]


I the files were different so i just replaced the bugger and that issue disappeared however i've got another problem now .

su -
xlauncher thunderbird

brings (sorry can't do all of the dump take to long).
{: out of space
[: out of space

gtk-critical **: file gtksignal.c: line 725 (gtk_signal_connect) asertion 'GTK_IS_OBJECT (object)' failed.
segmentation fault :S

anyone ?

icruise

  • Sr. Member
  • ****
  • Posts: 292
    • View Profile
Headaches Getting Thunderbird Working
« Reply #10 on: August 28, 2005, 11:12:11 am »
Quote
OK I think I've been staring at this for too long and it's making my brain go weird ... install pango_1.4.1_arm.ipk (I thought this existed in the jumbo package but I reinstalled it anyway) and xqt-libXrenderer_1.2.2_arm.ipk and thunderbird is a little bit happier ... still has a pile of similar warnings to before (especially the gdk-pixbuf.loaders and character set conversion errors) but it actually loads now.

*sigh*

OK onto the next hurdle!

- Raybot
[div align=\"right\"][a href=\"index.php?act=findpost&pid=89712\"][{POST_SNAPBACK}][/a][/div]

I am having the exact same problems you described. I tried installing pango_1.4.1_arm.ipk but it quit with a segment fault. Any ideas why that might be? I also don't know where to download xqt-libXrenderer_1.2.2_arm.ipk. Can anyone point me in the right direction?
« Last Edit: August 28, 2005, 11:13:32 am by icruise »

rebski

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Headaches Getting Thunderbird Working
« Reply #11 on: August 28, 2005, 12:52:31 pm »
icruise

try here for xqt-libXrenderer_1.2.2_arm.ipk

http://www.users.on.net/~hluc/myZaurus/custom/

icruise

  • Sr. Member
  • ****
  • Posts: 292
    • View Profile
Headaches Getting Thunderbird Working
« Reply #12 on: August 29, 2005, 12:09:09 am »
Quote
icruise

try here for xqt-libXrenderer_1.2.2_arm.ipk

http://www.users.on.net/~hluc/myZaurus/custom/
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93521\"][{POST_SNAPBACK}][/a][/div]

Ah, that explains it. I did look there, but I had been performing a search for "xqt-libXrenderer_1.2.2_arm.ipk" when in fact the file name is "xqt-libXrender_1.2.2_arm.ipk".

Thanks.

xfaethorx

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Headaches Getting Thunderbird Working
« Reply #13 on: August 29, 2005, 08:23:48 am »
well i've finally got it working here! What I had to do was install the v5tel.ipk version on the command line first, for some reason it installs with no problems for me that way (and its not because of power saving) . Once I tried that I got the pango errors that are mentioned in this thread.

The reason you get that is pango is installed under /etc/pango and thunderbird will look for it under /home/QtPalmtop/etc so I just symlinked that and the gtk-2.0 directory. If you look at meanies site and check his custom page it shows how to set the pango stuff up.

Once i'd linked two the two /etc directories via /home/QtPalmtop/etc/ thunderbird started no problem!

(FINALLY!).

I need to move the thunderbird directory to /hdd3 though as /home runs out of space so fucking fast its untrue!!!!

rebski

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Headaches Getting Thunderbird Working
« Reply #14 on: August 29, 2005, 08:54:07 am »
Well done on the success, I shall try that.

What did you type at the command line to install Thunderbird, please?