slitaz-doc-wiki-data diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pages/en/guides/faq-dependency.txt Sat Feb 26 12:17:18 2011 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 + 1.5 +====== An Application Cannot Find Libraries/Files ====== 1.6 + 1.7 +===== Symptoms ===== 1.8 + 1.9 + * When run in a Terminal, an application fails with the message: 1.10 +<code> [name]: error while loading shared libraries: [library].so.*: cannot open shared object file: No such file or directory</code> 1.11 + 1.12 +===== Explanation ===== 1.13 + 1.14 +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. 1.15 + 1.16 +===== Solution ===== 1.17 + 1.18 +Check if the file required is available in another package. Use the package manager (TazPkg) to search for the file: 1.19 + * start the package manager 1.20 + * 'Recharge' the package lists, if necessary 1.21 + * click the "Search" tab 1.22 + * in the //Search// box, enter the file-name ([library].so) and click "Files" 1.23 + * install the package (pick that with the closest name if there is more than one) by double-clicking the entry and clicking //Install Package// 1.24 + 1.25 +Alternatively, run the following command from a terminal: 1.26 +<code>tazpkg search-pkgname library.so</code> 1.27 + 1.28 + 1.29 +... and install the appropriate package with: 1.30 +<code> tazpkg get-install [package] </code> 1.31 + 1.32 +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.