slitaz-doc-wiki-data view 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 source
2 ====== An Application Cannot Find Libraries/Files ======
4 ===== Symptoms =====
6 * When run in a Terminal, an application fails with the message:
7 <code> [name]: error while loading shared libraries: [library].so.*: cannot open shared object file: No such file or directory</code>
9 ===== Explanation =====
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.
13 ===== Solution =====
15 Check if the file required is available in another package. Use the package manager (TazPkg) to search for the file:
16 * start the package manager
17 * 'Recharge' the package lists, if necessary
18 * click the "Search" tab
19 * in the //Search// box, enter the file-name ([library].so) and click "Files"
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//
22 Alternatively, run the following command from a terminal:
23 <code>tazpkg search-pkgname library.so</code>
26 ... and install the appropriate package with:
27 <code> tazpkg get-install [package] </code>
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.