OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: CktRider on March 14, 2007, 01:56:01 am

Title: Disappearing Libraries Fix
Post by: CktRider 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!
Title: Disappearing Libraries Fix
Post by: ftegen 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....."?
Title: Disappearing Libraries Fix
Post by: tesla_cubed 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.
Title: Disappearing Libraries Fix
Post by: daniel3000 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