slitaz-doc-wiki-data annotate pages/en/guides/faq-dependency.txt @ rev 7
Add pages/en folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 26 12:17:18 2011 +0000 (2011-02-26) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@7 | 1 |
slaxemulator@7 | 2 ====== An Application Cannot Find Libraries/Files ====== |
slaxemulator@7 | 3 |
slaxemulator@7 | 4 ===== Symptoms ===== |
slaxemulator@7 | 5 |
slaxemulator@7 | 6 * When run in a Terminal, an application fails with the message: |
slaxemulator@7 | 7 <code> [name]: error while loading shared libraries: [library].so.*: cannot open shared object file: No such file or directory</code> |
slaxemulator@7 | 8 |
slaxemulator@7 | 9 ===== Explanation ===== |
slaxemulator@7 | 10 |
slaxemulator@7 | 11 The program is missing some files it needs to run. This is caused by the package information missing a reference to another, or not including the file. |
slaxemulator@7 | 12 |
slaxemulator@7 | 13 ===== Solution ===== |
slaxemulator@7 | 14 |
slaxemulator@7 | 15 Check if the file required is available in another package. Use the package manager (TazPkg) to search for the file: |
slaxemulator@7 | 16 * start the package manager |
slaxemulator@7 | 17 * 'Recharge' the package lists, if necessary |
slaxemulator@7 | 18 * click the "Search" tab |
slaxemulator@7 | 19 * in the //Search// box, enter the file-name ([library].so) and click "Files" |
slaxemulator@7 | 20 * install the package (pick that with the closest name if there is more than one) by double-clicking the entry and clicking //Install Package// |
slaxemulator@7 | 21 |
slaxemulator@7 | 22 Alternatively, run the following command from a terminal: |
slaxemulator@7 | 23 <code>tazpkg search-pkgname library.so</code> |
slaxemulator@7 | 24 |
slaxemulator@7 | 25 |
slaxemulator@7 | 26 ... and install the appropriate package with: |
slaxemulator@7 | 27 <code> tazpkg get-install [package] </code> |
slaxemulator@7 | 28 |
slaxemulator@7 | 29 If no packages are given, report this as a bug over at the [[http://labs.slitaz.org|Labs]] as it needs to be included, or the dependency removed during the build. |