Author Topic: Gnumeric again  (Read 2999 times)

PaulB

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
Gnumeric again
« on: April 09, 2004, 04:13:02 am »
Hi all, I have this very weird problem with starting gnumeric. Already got it in 1.0.0 but it persists in 1.0.5. When starting gnumeric by clicking its icon, it causes a segfault. When starting it from a console, it starts properly. I\'ve tried installing it on root and on /mnt/home. I can\'t produce a gdb output, since the problem doesn\'t occur when starting from console. Can I change the command used when clicking the icon? Did anyone else encounter this problem?

Using 760, pdaxrom 1.0.5, 50 Mb root partition, fresh install including format of flash, transcend 512 Mb SD, Buffalo wlan cf

mirdita_havlar

  • Newbie
  • *
  • Posts: 2
    • View Profile
Gnumeric again
« Reply #1 on: April 10, 2004, 06:14:00 am »
The same problem getting gnumeric installed on /mnt/card and /mnt/home. Need guru\'s help.

motorheadabega

  • Newbie
  • *
  • Posts: 7
    • View Profile
Gnumeric again
« Reply #2 on: June 17, 2004, 09:28:34 pm »
I have noticed the same thing on my SL-C860, with a few exceptions. Very frustrating. Here is what I tried:

1. Installd gnumeric and all its dependencies on /mnt/cf
    - behaviour exactly as you describe
    - runs ok from cli, faults when launched from the desktop
2. reformatted /mnt/cf
3. installed gnumeric (with all of its dependencies) on /
    - gnumeric ran fine from both the console and desktop
4. removed gnumeric and reinstalled it on /mnt/cf
   - gnumeric still launches fine from both cli and desktop
5. removed bzip2 and reinstalled it on /mnt/cf
   - gnumeric faults when run from the desktop
   - runs fine from a command line
6. removed bzip2 and reinstalled on /
   - gnumeric runs fine again

It seems as though gnumeric expects one or more of its deendencies to be installed in /

I haven\'t tried this with each and every library gnumeric depends on (there are too many).

Hope it helps.
motorhead.
SL-C860 pdaXrom 1.0.5
AmbiCom WL1100C-CF WiFi card
SanDisk Ultra II SD Storage card 512 MB

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Gnumeric again
« Reply #3 on: July 01, 2004, 07:39:13 am »
I get the segfault with bzip2 on / still, however I did flash the ROM before and it never happened, I've installed exactly the same ipks in exactly the same place (I document new installs by habit, even on the Z) but no joy. What a PITA!!
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

motorheadabega

  • Newbie
  • *
  • Posts: 7
    • View Profile
Gnumeric again
« Reply #4 on: July 03, 2004, 04:05:01 pm »
I did discover something which might help you.

When installing software on /mnt/cf or /mnt/card, the supporting libraries are stored on the same device, which is not always added to $PATH or $LD_LIBRARY_PATH, where the application expects to find them.

I added the following paths to /etc/ld.so.conf

/mnt/card/usr/lib
/mnt/card/usr/local/lib
/mnt/card/usr/X11R6/lib

and then ran ldconfig as root. Unfortunately I found that I must run ldconfig after each restart (i.e. shutdown -r now - doesn't apply to suspend).

I could probably add ldconfig to the init scripts, I am also looking into ading these path to $LD_LIBRARY_PATH in /etc/profile or in ~/.bash_profile

Anyway, now all my applications installed on /mnt/card find their libraries  
SL-C860 pdaXrom 1.0.5
AmbiCom WL1100C-CF WiFi card
SanDisk Ultra II SD Storage card 512 MB

motorheadabega

  • Newbie
  • *
  • Posts: 7
    • View Profile
Gnumeric again
« Reply #5 on: July 03, 2004, 04:06:43 pm »
Oh - soething else about your segfaults.

I sometimes see these too, but if I try to run gnumeric the same way a second time it comes up properly.

Not sure why, but you may want to look into it also.
SL-C860 pdaXrom 1.0.5
AmbiCom WL1100C-CF WiFi card
SanDisk Ultra II SD Storage card 512 MB