OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jerrybme on December 28, 2004, 09:34:39 am

Title: Gimp On Sd
Post by: jerrybme on December 28, 2004, 09:34:39 am
Anyone else had this problem? I've installed gimp on SD and it runs fine until next reboot. Then some, but not all, of the gimp libraries /usr/shar/lib symlinks -> /mnt/card/usr/share/lib are lost. Once I re-link them it works fine. I don't have this issue with other apps installed to SD (yet)

I'm not sure if this is a bug or a problem with my SD. I had this same problem on RC5 too. If others have seen this then it's not my card.

Cheers,

Jerry
Title: Gimp On Sd
Post by: hine on December 28, 2004, 08:25:14 pm
Hi!

I had same problem in rc5 on my C750.
I made some symlinks from /mnt/card/usr/local/lib to /usr/local/lib, but after rebooting these disapeared.
Now, I don't have same problem in rc8.
Title: Gimp On Sd
Post by: Laze on December 29, 2004, 03:00:25 pm
Try doing a ipkg update and then a ipkg upgrade from a clean shell/bash - that should fix the problems.
Title: Gimp On Sd
Post by: hine on December 30, 2004, 09:06:21 am
Wow!  

Thanks, Laze!
Title: Gimp On Sd
Post by: jerrybme on December 30, 2004, 12:16:42 pm
Quote
Try doing a ipkg update and then a ipkg upgrade from a clean shell/bash - that should fix the problems.
I've done the upgrade and stilll expereince the lost symlinks. Weird thing is it seems to only effect gimp. I've got several other apps on SD, like firefox and they don't seem to suffer from this problem.

Cheers,

Jerry
Title: Gimp On Sd
Post by: diesel1 on December 30, 2004, 02:31:31 pm
Hello,

I'm not sure if this is what you need (I have not had chance to check), but here you go.


[/CODE]
#!/bin/sh
echo -n "Recreating symlinks and setting permissions..."

for i in `ls /mnt/card/usr/lib/`; do ln -sf /mnt/card/usr/lib/$i /usr/lib/$i; done
for i in `ls /mnt/card/usr/local/lib/`; do ln -sf /mnt/card/usr/local/lib/$i /usr/local/lib/$i; done
for i in `ls /mnt/card/usr/X11R6/lib/`; do ln -sf /mnt/card/usr/X11R6/lib/$i /usr/X11R6/lib/$i; done
for i in `ls /mnt/card/usr/bin/`; do ln -sf /mnt/card/usr/bin/$i /usr/bin/$i; done


for i in `ls /mnt/card/usr/lib/`; do ln -sf /mnt/card/usr/lib/$i /usr/lib/$i; done

chmod a+w /tmp

echo " done."
[CODE]


This has worked for me in the past, YMMV.

Simon.

PS. This is code from Zumi.

https://www.oesf.org/forums/inde...ssing+libraries (https://www.oesf.org/forums/index.php?showtopic=6254&hl=missing+libraries)
Title: Gimp On Sd
Post by: jerrybme on December 31, 2004, 09:43:26 am
Simon: Thanks for the work-around    It sure beats hitting "esc-9-f-s" a bunch of times in Midnight Commander  

I still would like to understand why only some symlinks dissappear on reboot.

Happy New Year,
Jerry
Title: Gimp On Sd
Post by: apink on November 23, 2005, 09:24:27 pm
I am getting the same kind of error mentioned in this thread using gnumeric:

gnumeric: error while loading shared libraries: libgoffice-1.so.1: cannot open shared object file: no such file or directory.

The only thing is that I haven' installed gnumeric on the sd card.  I mounted it on /mnt/user.  Gnumeric worked when I first installed it on a newly flashed rc12 (C1000).  Then it gave me the above error (with variance on the specific library.)  I tried reinstalling gnumeric.  No go.  When I do a find on the library it gets found:

/mnt/user/usr/lib/libgoffice-1.so.1
/home/user/usr/lib/libgoffice-1.so.1

Do I need to recreate some symlinks ala was done with the sd card in previous posts on this thread?  If so then could someone give me some specific code?  I am a newbie to linux, eager to learn but feeling a little lost.  

Alternately is there another solution to the problem of not finding libraries?  Gnumeric worked fine for me when I was using rc11 but started in with this error after I flashed rc12.  It was a normal installation except that when I flashed rc11 I did not repartition the memory whereas when I put in rc12 I did.

Thanks.

george
Title: Gimp On Sd
Post by: pgas on November 24, 2005, 02:25:14 am
use
Code: [Select]
ipkg-link mount /mnt/user
ipkg-link mount /mnt/card
etc..

to recreate the links for the package install on mounted partitions.

Some people had reported this before, personally this started to happened to me with RC12. I don't know why.
Title: Gimp On Sd
Post by: apink on November 24, 2005, 01:07:27 pm
Thanks, pgas!

Works like a charm.  

g