Author Topic: Gimp On Sd  (Read 3777 times)

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Gimp On Sd
« 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
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

hine

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
Gimp On Sd
« Reply #1 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.
Hine (in Japan)
SL-C750
pdaXrom 1.1.0 Kathrin RC8
SD card: Panasonic 256MB / Panasonic 64MB
CF: Microdrive 340MB / AirH" AH-H401C / WirelessLAN WLI-CF-S11G

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Gimp On Sd
« Reply #2 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.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

hine

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
Gimp On Sd
« Reply #3 on: December 30, 2004, 09:06:21 am »
Wow!  

Thanks, Laze!
Hine (in Japan)
SL-C750
pdaXrom 1.1.0 Kathrin RC8
SD card: Panasonic 256MB / Panasonic 64MB
CF: Microdrive 340MB / AirH" AH-H401C / WirelessLAN WLI-CF-S11G

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Gimp On Sd
« Reply #4 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
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
Gimp On Sd
« Reply #5 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
« Last Edit: December 31, 2004, 11:14:18 am by diesel1 »
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Gimp On Sd
« Reply #6 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
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Gimp On Sd
« Reply #7 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
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Gimp On Sd
« Reply #8 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.
« Last Edit: November 24, 2005, 02:25:34 am by pgas »
SLC-860 cacko / senao wifi

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Gimp On Sd
« Reply #9 on: November 24, 2005, 01:07:27 pm »
Thanks, pgas!

Works like a charm.  

g
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000