Difference between revisions of "Error messages and their solutions"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
 +
=== ncurses ===
 
xawtv
 
xawtv
 
  Oops: (n)curses library not found.  You need this one, please install.
 
  Oops: (n)curses library not found.  You need this one, please install.
Line 4: Line 5:
 
  yast -i ncurses-devel
 
  yast -i ncurses-devel
  
 +
=== jpeg ===
 
xawtv
 
xawtv
 
  Oops:  jpeg library not found.  You need this one, please install.
 
  Oops:  jpeg library not found.  You need this one, please install.
Line 9: Line 11:
 
  yast -i libjpeg-devel
 
  yast -i libjpeg-devel
  
 
+
=== glib ===
 
xawtv
 
xawtv
 
  error: glib.h: No such file or directory
 
  error: glib.h: No such file or directory
Line 15: Line 17:
 
  yast -i glib2-devel
 
  yast -i glib2-devel
  
 +
=== libxml ===
 
xawtv
 
xawtv
 
  libxml/parser.h: No such file or directory
 
  libxml/parser.h: No such file or directory
Line 27: Line 30:
 
  yast -i libxml2-devel
 
  yast -i libxml2-devel
  
 
+
=== libpng ===
 
  /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng
 
  /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng
 
  collect2: ld returned 1 exit status
 
  collect2: ld returned 1 exit status
Line 36: Line 39:
  
  
 +
=== glib2 ===
 
  /usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
 
  /usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
 
  compilation terminated.
 
  compilation terminated.

Revision as of 18:03, 14 August 2010

ncurses

xawtv

Oops: (n)curses library not found.  You need this one, please install.

SUSE 11.3:

yast -i ncurses-devel

jpeg

xawtv

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

SUSE 11.3:

yast -i libjpeg-devel

glib

xawtv

error: glib.h: No such file or directory

SUSE 11.3

yast -i glib2-devel

libxml

xawtv

libxml/parser.h: No such file or directory

SUSE 11.3

yast -i libxml-devel
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
yast -i libxml2-devel

libpng

/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
make: *** [console/scantv] Error 1

SUSE 11.3

linux-fhbd:~/xawtv # yast -i libpng14-devel


glib2

/usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
compilation terminated.
make: *** [common/dvb-monitor.o] Error 1
linux-fhbd:~/xawtv # rpm -ql glib2-devel|grep config
[...]
linux-fhbd:~/xawtv # cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/