Author Topic: Disappearing Libraries Fix  (Read 2312 times)

CktRider

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Disappearing Libraries Fix
« on: March 14, 2007, 01:56:01 am »
Just a note to make a common tip in this forum more accessible to a search.  I've fought a frequent problem of nonfunctional software due to disappearing libraries after a system crash or unexpected reboot--or sometimes, for no apparent reason at all.  The fix is simply ipkg-link mount /mnt/user or whatever your install mount point is.  Voila, links are restored to software installed at that point, libraries are suddenly found, and software functions again!

ftegen

  • Newbie
  • *
  • Posts: 8
    • View Profile
Disappearing Libraries Fix
« Reply #1 on: March 14, 2007, 07:42:54 am »
Quote
Just a note to make a common tip in this forum more accessible to a search.  I've fought a frequent problem of nonfunctional software due to disappearing libraries after a system crash or unexpected reboot--or sometimes, for no apparent reason at all.  The fix is simply ipkg-link mount /mnt/user or whatever your install mount point is.  Voila, links are restored to software installed at that point, libraries are suddenly found, and software functions again!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156202\"][{POST_SNAPBACK}][/a][/div]

Sorry for the stupid question, but what do you mean exactly by "ipkg-link mount /mnt/user....."?

tesla_cubed

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Disappearing Libraries Fix
« Reply #2 on: March 14, 2007, 09:35:56 am »
Quote
Quote
Just a note to make a common tip in this forum more accessible to a search.  I've fought a frequent problem of nonfunctional software due to disappearing libraries after a system crash or unexpected reboot--or sometimes, for no apparent reason at all.  The fix is simply ipkg-link mount /mnt/user or whatever your install mount point is.  Voila, links are restored to software installed at that point, libraries are suddenly found, and software functions again!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156202\"][{POST_SNAPBACK}][/a][/div]

Sorry for the stupid question, but what do you mean exactly by "ipkg-link mount /mnt/user....."?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156221\"][{POST_SNAPBACK}][/a][/div]

Type it in a shell prompt and it recreats the symlinks. Eraly versoins of OZ  that used pivot root to boot of SD have this problim as well It took me weeks to find out what to do with ipkg-link to get them back so its not a stupid question at all. I think they fixed it in there latest relase for collie I dont know enuff to guess how though one day my symlinks just stayed though.
SL-C3200 (pdaXii)
AmbiCom Wifi
Belkin Palmtop ir keybord

sl-5500 (runing opie whatever.latest.release.is) -touchpanel
1gb SanDisk sd

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Disappearing Libraries Fix
« Reply #3 on: March 14, 2007, 09:47:22 am »
Quote
Sorry for the stupid question, but what do you mean exactly by "ipkg-link mount /mnt/user....."?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156221\"][{POST_SNAPBACK}][/a][/div]

That's only relevant if your root partition is smaller than 121MB. Then I think /mnt/user is the remaining flash space (the user partition) where you can install software and libraries to.

However, the ipkg-link should be done automatically when that partition is mounted...
No idae why it doesn't.

However, as soon as you install software to ANY other location than the root fs, e.g. to /mnt/ide2, to /mnt/card or to /mnt/cf (or even an USB drive), ipkg-link is executed automatically each time you mount the device, in order to make software, i.e. apps and libs, available to the system.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0