Difference between revisions of "Dependencies"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 7: Line 7:
  
 
== When running a program, a file is missing ==
 
== When running a program, a file is missing ==
Problem, in this case by [[umtsmon]]:
+
Error message, in this case by [[umtsmon]]:
 
  ./umtsmon: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
 
  ./umtsmon: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
 
Solution, in this case for SUSE 11.3:
 
Solution, in this case for SUSE 11.3:
 
  yast -i qt3-32bit
 
  yast -i qt3-32bit
 +
 +
== When building a program, a package is missing ==
 +
Error message (in this case from xawtv):
 +
Oops:  jpeg library not found.  You need this one, please install.
 +
Solution (in this case for SUSE 11.3):
 +
yast -i libjpeg-devel

Revision as of 04:46, 5 January 2011

Software dependencies is if a software needs another software in order to be run, installed or built. To reduce complexity of software that you need to installed, software is grouped into packages like firefox, skype, thunderbird and the like. Dependencies will typically hit you in the following cases:

  • when running a program, a file/package is missing
  • when installing a program, a file/package is missing
  • when compiling a program, file/package is missing

Examples

When running a program, a file is missing

Error message, in this case by umtsmon:

./umtsmon: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory

Solution, in this case for SUSE 11.3:

yast -i qt3-32bit

When building a program, a package is missing

Error message (in this case from xawtv):

Oops:   jpeg library not found.  You need this one, please install.

Solution (in this case for SUSE 11.3):

yast -i libjpeg-devel