stupid_idiot
Group: Members
Posts: 344
Joined: Oct. 2006 |
|
Posted: Sep. 28 2007,15:46 |
|
Quote (curaga @ Sep. 28 2007,18:53) | There is still one major drawback with using upx: you cannot see the dependencies without a patched file.. and there is no patch for the busybox version |
Yes. But on running, the program will show "Cannot find libxyz.so.x. ...". And then it should be easy to find what is missing. Also, let's say the user does not know what "Cannot find libxyz.so.x. ..." means. In this case, even if he could do 'ldd xyz', it won't be of use to him..
But, let's say we have a worst-case scenario where a large number of libraries go missing, and the app won't start. There are 2 possibilities: 1. The missing library is an important system library. In this case, many other programs that depend on this library will also fail. 2. The missing library is a minor library, possibly used only by this specific app. In this situation: (a) The .info file for the extension should describe what other extension(s) is needed. (This assumes the user has read the .info file before downloading. Also, this assumes the .info file is clear and easy to understand.) (b) In the case of a .dsl or .tar.gz, where installed files may be accidentally deleted, we can reinstall by reloading the .dsl/.tar.gz. © In the case of a .uci, the $PREFIX is read-only, so libraries shouldn't go missing.
|