Difference between revisions of "Error messages and their solutions"

From Linuxintro
imported>ThorstenStaerk
 
(64 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<metadesc>On this page I list all error messages that I saw and their solution if I found it working.</metadesc>
 
This is a collection of known error messages and their solution. Mostly these error messages result from missing [[dependencies]].
 
This is a collection of known error messages and their solution. Mostly these error messages result from missing [[dependencies]].
  
 
=== a52 ===
 
=== a52 ===
Problem, in this case from [[vlc]]:
+
'''Symptom''', in this case from [[build]]ing [[vlc]]:
  configure: error: Could not find liba52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin.
+
  [[configure]]: error: Could not find liba52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin.
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE Linux:
  yast -i liba52-devel
+
  [[yast]] -i liba52-devel
 +
 
 +
=== access forbidden ===
 +
'''Symptom''': When surfing to a web site from your [[apache]] web server your browser tells you
 +
Access forbidden!
 +
 +
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
 +
 +
If you think this is a server error, please contact the webmaster.
 +
Error 403
 +
'''Solution''', in this case for SUSE Linux:
 +
In /etc/apache2 search for AllowOverride:
 +
[[grep]] -ir "allowoverride" *
 +
Make sure all AllowOverride are set to None, then restart your apache:
 +
/etc/init.d/apache2 restart
  
 
=== atk ===
 
=== atk ===
Problem, in this case from gqcam:
+
'''Symptom''', in this case from gqcam:
 
  /usr/include/gtk/gtkwidget.h:40:21: fatal error: atk/atk.h: No such file or directory
 
  /usr/include/gtk/gtkwidget.h:40:21: fatal error: atk/atk.h: No such file or directory
 
  compilation terminated.
 
  compilation terminated.
 
  make: *** [gqcam.o] Error 1
 
  make: *** [gqcam.o] Error 1
Solution, in this case for SUSE Linux 11.3:
+
'''Solution''', in this case for SUSE Linux 11.3:
  cp -r /usr/include/atk-1.0/atk/ /usr/include/
+
  [[cp]] -r /usr/include/atk-1.0/atk/ /usr/include/
  
 
=== C compiler ===
 
=== C compiler ===
Line 41: Line 56:
 
Problem e.g.:
 
Problem e.g.:
 
  CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.  Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
 
  CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.  Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
Solution, e.g. under Debian:
+
'''Solution''', e.g. under Debian:
 
  aptitude install build-essential
 
  aptitude install build-essential
 +
 +
=== C header files ===
 +
'''Symptom:''' When starting [[vmware]] player you get an error message:
 +
C header files matching your running kernel were not found.  Refer to your distribution's documentation for installation instructions.
 +
'''Solution''', in this case for SUSE Linux 12.1 is to enable compiling with the kernel sources:
 +
[[yast]] -i kernel-source gcc-c++
 +
 +
=== can't open display ===
 +
'''Symptom:''' When you call yast2 on a remote computer you get the error message
 +
terminate called after throwing an instance of 'YUIException'
 +
  what():  Can't open display
 +
YaST got signal 6 at YCP file Wizard.ycp:699
 +
'''Solution:''' Log out and log in again using ssh -Y instead of ssh -X
  
 
=== capabilities.h ===
 
=== capabilities.h ===
Problem (in this case from vdr)
+
'''Symptom''', in this case from [[build]]ing vdr
 
  vdr.c:35:28: fatal error: sys/capability.h: No such file or directory  
 
  vdr.c:35:28: fatal error: sys/capability.h: No such file or directory  
Solution (in this case for SUSE 11.3)
+
'''Solution''', in this case for SUSE 11.3
  yast -i libcap-devel
+
  [[yast]] -i libcap-devel
  
 
=== cairo ===
 
=== cairo ===
Problem, in this case from gqcam:
+
'''Symptom''', in this case from [[build]]ing gqcam:
 
  /usr/include/gdk/gdkscreen.h:31:19: fatal error: cairo.h: No such file or directory
 
  /usr/include/gdk/gdkscreen.h:31:19: fatal error: cairo.h: No such file or directory
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  cp /usr/include/cairo/* /usr/include/
+
  [[cp]] /usr/include/cairo/* /usr/include/
 +
 
 +
=== certificate.pem ===
 +
'''Symptom:''' A program, e.g. [[sHellinaBox]] outputs the error message:
 +
Cannot read valid certificate from "certificate.pem". Check file permissions and file format.
 +
 
 +
'''Reason,''' in this case for [[sHellInaBox]]: The program cannot create certificate.pem in the current folder
 +
 
 +
'''Solution,''' in this case for [[shellInABox]]: start the program in /tmp
 +
 
 +
=== clock_gettime ===
 +
'''Symptom''', in this case from [[building]] http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c:
 +
linux_usbfs.c:(.text+0x182): undefined reference to `clock_gettime'
 +
'''Reason:''' You are missing the realtime library
 +
 
 +
'''Solution:''' Include the realtime library into your compile options, add the paramter
 +
-lrt
 +
 
 +
=== confuse.h ===
 +
'''Symptom:''' When [[build]]ing a software you get an error message like
 +
callbacks.c:10:21: fatal error: confuse.h: No such file or directory
 +
 
 +
'''Solution,''' in this case for SUSE Linux:
 +
[[yast]] -i libconfuse-devel
 +
 
 +
=== curl ===
 +
;Symptom: When [[build]]ing a software you get an error message like
 +
configure: error: libcurl development files required
 +
;Solution: Install the development package for libcurl, e.g. for SUSE:
 +
yast -i libcurl-devel
 +
or for Ubuntu 19.10:
 +
sudo apt-get install libcurl4-nss-dev
  
 
=== DBUS ===
 
=== DBUS ===
Problem, in this case from [[vlc]]:
+
'''Symptom''', in this case from [[build]]ing [[vlc]]:
 
  configure: error: Couldn't find DBus >= 1.0.0, install libdbus-dev ?
 
  configure: error: Couldn't find DBus >= 1.0.0, install libdbus-dev ?
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  yast -i dbus-1-devel
+
  [[yast]] -i dbus-1-devel
 +
 
 +
=== dlopen ===
 +
'''Symptom''', in this case from [[build]]ing http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c
 +
ftd2xx.c:(.text+0x2cb): undefined reference to `dlopen'
 +
'''Solution''', in this case for SUSE 12.1:
 +
Add
 +
-ldl
 +
to your compile parameters.
 +
 
 +
=== firefox ===
 +
'''Symptom:''' When trying to start [[firefox]] you get a message:
 +
Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
 +
 
 +
'''Solution''', in this case for SUSE Linux 12.1:
 +
[[open a console]] and enter the [[command]]
 +
killall firefox-bin
  
 
=== fribidi ===
 
=== fribidi ===
Problem, in this case from [[vlc]]:
+
'''Symptom''', in this case from [[build]]ing [[vlc]]:
  configure: error: Package requirements (fribidi) were not met:  
+
  [[configure]]: error: Package requirements (fribidi) were not met:  
 
   
 
   
 
  No package 'fribidi' found
 
  No package 'fribidi' found
Line 74: Line 149:
 
  and FRIBIDI_LIBS to avoid the need to call pkg-config.
 
  and FRIBIDI_LIBS to avoid the need to call pkg-config.
 
  See the pkg-config man page for more details.
 
  See the pkg-config man page for more details.
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  yast -i fribidi-devel
+
  [[yast]] -i fribidi-devel
 +
 
 +
=== ftp: local: whatever.log: Operation not permitted ===
 +
'''Symptom:''' you want to download a file using e.g.
 +
ftp -p ftp://user:password@server/tmp/whatever.log
 +
and get an error message
 +
ftp: local: whatever.log: Operation not permitted
 +
There is already a file whatever.log in your current working directory. You do not have write access to this file.
 +
 
 +
'''Reason:''' The command tries to overwrite your local ''whatever.log'' and fails because of missing privileges.
 +
 
 +
'''Solution:''' Delete the local file ''whatever.log'' as root:
 +
rm ''whatever.log''
  
 
=== gcrypt ===
 
=== gcrypt ===
Problem, in this case from [[vlc]]:
+
'''Symptom''', in this case from [[build]]ing [[vlc]]:
 
  configure: error: libgcrypt version 1.1.94 or higher not found. Install libgcrypt or use --disable-libgcrypt. Have a nice day.
 
  configure: error: libgcrypt version 1.1.94 or higher not found. Install libgcrypt or use --disable-libgcrypt. Have a nice day.
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  yast -i libgcrypt-devel
+
  [[yast]] -i libgcrypt-devel
  
 
=== gdk ===
 
=== gdk ===
Problem, in this case from gqcam:
+
'''Symptom''', in this case from [[build]]ing gqcam:
 
  /usr/include/gtk/gtk.h:32:21: fatal error: gdk/gdk.h: No such file or directory
 
  /usr/include/gtk/gtk.h:32:21: fatal error: gdk/gdk.h: No such file or directory
Solution, in this case for SUSE Linux 11.3:
+
'''Solution''', in this case for SUSE Linux 11.3:
  cp -pr /usr/include/gtk-2.0/gdk /usr/include/
+
  [[cp]] -pr /usr/include/gtk-2.0/gdk /usr/include/
  
 
=== gdkconfig ===
 
=== gdkconfig ===
Problem:
+
'''Symptom''':
 
  /usr/include/gdk/gdktypes.h:55:23: fatal error: gdkconfig.h: No such file or directory
 
  /usr/include/gdk/gdktypes.h:55:23: fatal error: gdkconfig.h: No such file or directory
 
  compilation terminated.
 
  compilation terminated.
  make: *** [gqcam.o] Error 1
+
  [[make]]: *** [gqcam.o] Error 1
Solution:
+
'''Solution''':
 
  linux-noqb:~/gqcam-0.8 # cd /usr/include/
 
  linux-noqb:~/gqcam-0.8 # cd /usr/include/
 
  linux-noqb:/usr/include # find -iname "gdkconfig*"
 
  linux-noqb:/usr/include # find -iname "gdkconfig*"
Line 103: Line 190:
  
 
=== gdk-pixbuf ===
 
=== gdk-pixbuf ===
Problem:
+
'''Symptom''':
 
  /usr/include/gdk/gdkpixbuf.h:37:35: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
 
  /usr/include/gdk/gdkpixbuf.h:37:35: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
 
  compilation terminated.
 
  compilation terminated.
  make: *** [gqcam.o] Error 1
+
  [[make]]: *** [gqcam.o] Error 1
Solution:
+
'''Solution''':
 
<pre>
 
<pre>
 
linux-noqb:~/gqcam-0.8 # cd /usr/include/
 
linux-noqb:~/gqcam-0.8 # cd /usr/include/
Line 129: Line 216:
  
 
=== gettext ===
 
=== gettext ===
During the [[build]] you get, in this example from [[pidgin]]:
+
'''Symptom''', in this example from [[build]]ing [[pidgin]]:
  configure: error: GNU gettext tools not found; required for intltool
+
  [[configure]]: error: GNU gettext tools not found; required for intltool
Solution, in this case for SLES 11:
+
'''Solution''', in this case for SLES 11:
  # yast -i gettext-tools
+
  # [[yast]] -i gettext-tools
  
 
=== gio ===
 
=== gio ===
Problem, in this case from gqcam:
+
'''Symptom''', in this case [[build]]ing from gqcam:
 
  /usr/include/gdk/gdkapplaunchcontext.h:30:21: fatal error: gio/gio.h: No such file or directory
 
  /usr/include/gdk/gdkapplaunchcontext.h:30:21: fatal error: gio/gio.h: No such file or directory
Solution, in this case for SUSE Linux 11.3:
+
'''Solution''', in this case for SUSE Linux 11.3:
  cp -r /usr/include/glib-2.0/gio/ /usr/include/
+
  [[cp]] -r /usr/include/glib-2.0/gio/ /usr/include/
 +
 
 +
=== glib ===
 +
'''Symptom''', in this case from [[build]]ing [[xawtv]]:
 +
error: glib.h: No such file or directory
 +
'''Solution''' (in this case for SUSE 11.3):
 +
[[yast]] -i glib2-devel
 +
[[cp]] /usr/include/glib-2.0/glib.h /usr/include/
 +
cp -pr /usr/include/glib-2.0/glib /usr/include/
  
 
=== glibconfig ===
 
=== glibconfig ===
Problem, in this case from gqcam:
+
'''Symptom''', in this case from [[build]]ing gqcam:
 
  /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
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/
+
  [[cp]] /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/
  
 
=== gmodule ===
 
=== gmodule ===
Problem, in this case from gqcam:
+
'''Symptom''', in this case from [[build]]ing gqcam:
 
  /usr/include/gio/giomodule.h:31:21: fatal error: gmodule.h: No such file or directory
 
  /usr/include/gio/giomodule.h:31:21: fatal error: gmodule.h: No such file or directory
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  cp /usr/include/glib-2.0/gmodule.h /usr/include/
+
  [[cp]] /usr/include/glib-2.0/gmodule.h /usr/include/
  
 
=== gtk ===
 
=== gtk ===
Problem (in this case from kino):
+
'''Symptom''', in this case from [[build]]ing [[kino]]:
 
  checking for GTK2... configure: error: Package requirements (gthread-2.0 libglade-2.0 >= 2.5.0 gtk+-2.0 >= 2.6) were not met:  
 
  checking for GTK2... configure: error: Package requirements (gthread-2.0 libglade-2.0 >= 2.5.0 gtk+-2.0 >= 2.6) were not met:  
 
   
 
   
 
  No package 'libglade-2.0' found
 
  No package 'libglade-2.0' found
Solution (in this case for SUSE 11.3):
+
'''Solution''', in this case for SUSE 11.3:
  yast -i libglade2-devel
+
  [[yast]] -i libglade2-devel
  
 
=== gtk-config ===
 
=== gtk-config ===
Problem (in this case from gqcam):
+
'''Symptom''', in this case from [[build]]ing gqcam:
 
  /bin/sh: gtk-config: command not found
 
  /bin/sh: gtk-config: command not found
 
  gqcam.c:32:21: fatal error: gtk/gtk.h: No such file or directory
 
  gqcam.c:32:21: fatal error: gtk/gtk.h: No such file or directory
Solution (in this case for SUSE 11.3):
+
'''Solution''', in this case for SUSE 11.3:
 
* install gtk 2.20
 
* install gtk 2.20
 
* copy the header files
 
* copy the header files
  cp -pr /usr/include/gtk-2.0/gtk/ /usr/include
+
  [[cp]] -pr /usr/include/gtk-2.0/gtk/ /usr/include
  
 
=== gtk-window-dialog ===
 
=== gtk-window-dialog ===
Line 187: Line 282:
  
 
=== intltool ===
 
=== intltool ===
During the build you get, in this case by [[pidgin]]:
+
'''Symptom''', in this case from [[build]]ing [[pidgin]]:
  configure: error: The intltool scripts were not found. Please install intltool.
+
  [[configure]]: error: The intltool scripts were not found. Please install intltool.
Solution, in this case with SLES 11:
+
'''Solution''', in this case with SLES 11:
  # wget http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.5.tar.bz2
+
  # [[wget]] http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.5.tar.bz2
 
  # bunzip2 intltool-0.35.5.tar.bz2
 
  # bunzip2 intltool-0.35.5.tar.bz2
  # tar xvf intltool-0.35.5.tar
+
  # [[tar]] xvf intltool-0.35.5.tar
  # cd intltool-0.35.5/
+
  # [[cd]] intltool-0.35.5/
  # ./configure && make -j8 && make install
+
  # ./[[configure]] && [[make]] -j8 && make [[install]]
 +
 
 +
=== jni ===
 +
'''Symptom''', in this case from compiling soprano:
 +
-- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
 +
CMake Error at CMakeLists.txt:84 (file):
 +
  file Internal CMake error when trying to open file:
 +
  /usr/lib64/jvm/java-1.7.0-openjdk/jni.h for reading.
 +
'''Solution''': Install the development toolkit for java, in this case for SUSE 12.2:
 +
java-1_7_0-openjdk-devel
  
 
=== jpeg ===
 
=== jpeg ===
Problem (in this case from xawtv):
+
'''Symptom''', in this case from [[xawtv]]:
 
  Oops:  jpeg library not found.  You need this one, please install.
 
  Oops:  jpeg library not found.  You need this one, please install.
Solution (in this case for SUSE 11.3):
+
'''Solution''', in this case for SUSE 11.3:
  yast -i libjpeg-devel
+
  [[yast]] -i libjpeg-devel
  
 
=== KDE ===
 
=== KDE ===
Problem:
+
'''Symptom''':
 
   ERROR: Could not find KDE4 kde4-config
 
   ERROR: Could not find KDE4 kde4-config
Solution, e.g. under Debian:
+
'''Solution''', e.g. under Debian:
  apt-get install kdelibs5-dev
+
  apt-get [[install]] kdelibs5-dev
 +
 
 +
=== libasound_module_pcm_pulse.so ===
 +
'''Symptom''', in this case form [[install]]ing [[skype]]:
 +
libasound_module_pcm_pulse.so is needed by skype-4.3.0.37-suse121.i586
 +
'''Solution''', in this case for SUSE Linux 13.1x64:
 +
yast -i alsa-plugins-pulse-32bit
 +
 
 +
=== libavcodec ===
 +
'''Symptom''', in this case from [[build]]ing [[vlc]]:
 +
configure: error: No package 'libavcodec' found
 +
'''Solution''', in this case for SUSE Linux Enterprise Server 11:
 +
[[yast]] -i lib[[ffmpeg]]-devel
  
 
=== liblavdisplay ===
 
=== liblavdisplay ===
Problem, e.g. when compiling mjpegtools:
+
'''Symptom''', e.g. when compiling mjpegtools:
 
  ./.libs/liblavplay.so: undefined reference to `XOpenDisplay'
 
  ./.libs/liblavplay.so: undefined reference to `XOpenDisplay'
Solution, e.g. under SUSE:
+
'''Solution''', e.g. under SUSE:
  yast -i libSDL-devel
+
  [[yast]] -i libSDL-devel
  
 
=== libQtDBus ===
 
=== libQtDBus ===
Problem, in this case from [[skype]]:
+
'''Symptom''', in this case from running [[skype]]:
 
  skype: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory
 
  skype: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory
Reason: You do not have the 32bit libraries for Qt.
+
'''Reason''': You do not have the 32bit libraries for Qt.
  
;Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  yast -i libqt4-32bit
+
  [[yast]] -i libqt4-32bit
 
 
=== glib ===
 
Problem (in this case from xawtv):
 
error: glib.h: No such file or directory
 
Solution (in this case for SUSE 11.3):
 
yast -i glib2-devel
 
cp /usr/include/glib-2.0/glib.h /usr/include/
 
cp -pr /usr/include/glib-2.0/glib /usr/include/
 
  
 
=== libfontconfig ===
 
=== libfontconfig ===
Symptom, in this case from building [[xawtv]]:
+
'''Symptom''', in this case from building [[xawtv]]:
 
  /usr/bin/ld: cannot find -lfontconfig
 
  /usr/bin/ld: cannot find -lfontconfig
Solution (in this case for Ubuntu 11.10):
+
'''Solution''', in this case for Ubuntu 11.10:
 
  apt-get install libfontconfig1-dev
 
  apt-get install libfontconfig1-dev
 +
 +
=== libgdk ===
 +
'''Symptom''', in this case from running realplay:
 +
/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
 +
'''Reason''': For SUSE Linux, libgdk-x11-2.0.so.0 is provided by the [[package]] libgtk. /usr/lib64/libgdk-x11-2.0.so.0 is provided by the package libgtk-2_0-0-2.24.7-2.5.1.x86_64:
 +
# [[rpm]] -qf /usr/lib64/libgdk-x11-2.0.so.0
 +
libgtk-2_0-0-2.24.7-2.5.1.x86_64
 +
/usr/lib/libgdk-x11-2.0.so.0 is provided by the package libgtk-2_0-0-32bit:
 +
rpm -qf /usr/lib/libgdk-x11-2.0.so.0
 +
libgtk-2_0-0-32bit-2.24.7-2.5.1.x86_64
 +
'''Solution''', in this case for SUSE 12.1:
 +
[[yast]] -i libgtk-2_0-0-32bit
  
 
=== libQt ===
 
=== libQt ===
Problem, in this case by [[umtsmon]]:
+
'''Problem''', in this case from running 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
  
 
=== libQtGui ===
 
=== libQtGui ===
Problem, in this case from running [[skype]]:
+
'''Problem''', in this case from running [[skype]]:
 
  skype: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
 
  skype: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
Reason: You do not have the 32bit libraries for Qt.
+
'''Reason''': You do not have the 32bit libraries for Qt.
  
Solution:
+
'''Solution''':
  yast -i libqt4-x11-32bit
+
  [[yast]] -i libqt4-x11-32bit
  
 
=== libXaw ===
 
=== libXaw ===
Symptom (in this case from [[xawtv]]):
+
'''Symptom''', in this case from [[build]]ing [[xawtv]]:
 
  /usr/bin/ld: cannot find -lXaw
 
  /usr/bin/ld: cannot find -lXaw
Solution (in this case for Ubuntu 11.10):
+
'''Solution''', in this case for Ubuntu 11.10:
  apt-get install libxaw7-dev
+
  apt-get [[install]] libxaw7-dev
  
 
=== libXext ===
 
=== libXext ===
Symptom (in this case from xawtv):
+
'''Symptom''', in this case from [[build]]ing [[xawtv]]:
 
  /usr/bin/ld: cannot find -lXext
 
  /usr/bin/ld: cannot find -lXext
Solution (in this case for Ubuntu 11.10):
+
'''Solution''', in this case for Ubuntu 11.10:
  apt-get install libxext-dev
+
  apt-get [[install]] libxext-dev
  
 
=== libXm ===
 
=== libXm ===
Line 269: Line 389:
  
 
You can find out what package a file belongs to after installing the rpm like this:
 
You can find out what package a file belongs to after installing the rpm like this:
  rpm -qf /usr/lib64/libXm.so.4
+
  [[rpm]] -qf /usr/lib64/libXm.so.4
 
  openmotif-libs-2.3.1-3.13
 
  openmotif-libs-2.3.1-3.13
  
 
=== libXv ===
 
=== libXv ===
  # rpm -ivh Downloads/RealPlayer11GOLD.rpm  
+
'''Symptom''', in this case from [[install]]ing realplayer:
 +
  # [[rpm]] -ivh Downloads/RealPlayer11GOLD.rpm  
 
  error: Failed dependencies:
 
  error: Failed dependencies:
 
         libXv.so.1 is needed by realplay-11.0.2.1744-1.i386
 
         libXv.so.1 is needed by realplay-11.0.2.1744-1.i386
 
+
'''Solution''', in this case for SUSE Linux:
  # yast -i xorg-x11-libXv-32bit
+
  # [[yast]] -i xorg-x11-libXv-32bit
  
 
=== libxml ===
 
=== libxml ===
Problem (in this case from xawtv):
+
'''Symptom''', in this case from [[build]]ing [[xawtv]]:
 
  libxml/parser.h: No such file or directory
 
  libxml/parser.h: No such file or directory
Solution (in this case for SUSE 11.3):
+
'''Solution''',  in this case for SUSE 11.3:
  yast -i libxml-devel
+
  [[yast]] -i libxml-devel
  
 
=== libxml 2 ===
 
=== libxml 2 ===
Problem (in this case from xawtv):
+
'''Symptom''', in this case from [[build]]ing [[xawtv]]:
 
  Package libxml-2.0 was not found in the pkg-config search path.
 
  Package libxml-2.0 was not found in the pkg-config search path.
 
  Perhaps you should add the directory containing `libxml-2.0.pc'
 
  Perhaps you should add the directory containing `libxml-2.0.pc'
 
  to the PKG_CONFIG_PATH environment variable
 
  to the PKG_CONFIG_PATH environment variable
 
  No package 'libxml-2.0' found
 
  No package 'libxml-2.0' found
Solution (in this case for SUSE 11.3):
+
'''Solution''', in this case for SUSE 11.3:
  yast -i libxml2-devel
+
  [[yast]] -i libxml2-devel
  
 
=== libXp ===
 
=== libXp ===
Problem (in this case from xawtv):
+
'''Symptom''', in this case from [[build]]ing [[xawtv]]:
 
  /usr/bin/ld: cannot find -lXp
 
  /usr/bin/ld: cannot find -lXp
Solution (in this case for Ubuntu 11.10):
+
'''Solution''', in this case for Ubuntu 11.10:
  apt-get install libxp-dev
+
  apt-get [[install]] libxp-dev
 +
 
 +
=== libXss ===
 +
;Symptom, in this case from running [[skype]]:
 +
tweedleburg:~/Downloads/skype-4.3.0.37 # ./skype
 +
./skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
 +
;Solution, in this case for SUSE Linux:
 +
yast -i libXss1-32bit
  
 
=== libpng ===
 
=== libpng ===
Problem (in this case from xawtv):
+
'''Symptom''', in this case from [[build]]ing [[xawtv]]:
 
  /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
 
  make: *** [console/scantv] Error 1
 
  make: *** [console/scantv] Error 1
  
Solution (in this case for SUSE 11.3):
+
'''Solution''', in this case for SUSE 11.3:
  linux-fhbd:~/xawtv # yast -i libpng14-devel
+
  linux-fhbd:~/xawtv # [[yast]] -i libpng14-devel
 
 
=== glib2 ===
 
Problem (in this case from xawtv):
 
/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/
 
  
 
=== lua ===
 
=== lua ===
Problem, in this case from [[vlc]]:
+
'''Symptom''', in this case from [[build]]ing [[vlc]]:
 
  configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
 
  configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
Solution, in this case for SUSE 11.3:
+
'''Solution''', in this case for SUSE 11.3:
  yast -i lua-devel
+
  [[yast]] -i lua-devel
 +
 
 +
=== lzma ===
 +
'''Symptom''': When installing an rpm package delivers an unsatisfied [[dependency]]:
 +
lzma  is needed
 +
'''Solution''', in this case for RHEL 6.6:
 +
rpm -ivh xz-lzma-compat-*.x86_64.rpm
 +
 
 +
=== mad ===
 +
'''Symptom''', in this case from [[build]]ing [[vlc]]:
 +
configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.
 +
'''Solution''', in this case for SUSE Linux Enterprise Server 11:
 +
[[yast]] -i libmad-devel
  
 
=== ncurses ===
 
=== ncurses ===
Problem (in this case from xawtv):
+
'''Symptom''', in this case from [[build]]ing 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.
Solution (in this case for SUSE 11.3):
+
'''Solution''', in this case for SUSE 11.3:
  yast -i ncurses-devel
+
  [[yast]] -i ncurses-devel
 +
 
 +
=== Net/DAV/Server.pm ===
 +
'''Symptom:''' Trying to run a [[perl]] [[program]] you get the message:
 +
Can't locate Net/DAV/Server.pm in @INC (@INC contains
 +
 
 +
'''Reason:''' Perl has a library of functions, and the module Net/DAV/Server.pm is missing there.
 +
 
 +
'''Solution:''' Install Net/DAV/Server.pm as described under [[cpan]].
 +
 
 +
=== OSSP-UUID ===
 +
'''Symptom''': During [[build]] you get the error message
 +
configure: error: "The OSSP UUID library is required"
 +
;Solution: install OSSP UUID lib, e.g. under Ubuntu:
 +
apt-get install libossp-uuid-dev
  
 
=== pango ===
 
=== pango ===
Symptom:
+
'''Symptom''':
 
<pre>
 
<pre>
 
/usr/include/gdk/gdktypes.h:37:25: fatal error: pango/pango.h: No such file or directory
 
/usr/include/gdk/gdktypes.h:37:25: fatal error: pango/pango.h: No such file or directory
Line 345: Line 490:
 
[...]
 
[...]
 
</pre>
 
</pre>
Solution:
+
'''Solution''':
 
  linux-noqb:/usr/include # cp -r /usr/include/pango-1.0/pango/ /usr/include/
 
  linux-noqb:/usr/include # cp -r /usr/include/pango-1.0/pango/ /usr/include/
 +
 +
=== popt ===
 +
'''Symptom''', in this case from building gphoto2:
 +
* Cannot autodetect popt.h
 +
'''Solution''', in this case for SUSE Linux:
 +
[[yast]] -i popt-devel
 +
 +
=== pthread_create ===
 +
'''Symptom''', in this case from [[building]] http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c
 +
undefined reference to `pthread_create'
 +
'''Solution''', in this case for SUSE Linux 12.1:
 +
Add
 +
-lpthread
 +
to your [[compile]] parameters
 +
 +
=== python.h ===
 +
'''Symptom''', in this case from setting up [[uniconvertor]]:
 +
src/modules/filter/streamfilter.c:24:20: fatal error: Python.h: No such file or directory
 +
'''Solution''', in this case for SUSE Linux 12.1:
 +
[[yast]] -i python-devel
 +
 +
=== qt ===
 +
'''Symptom''', in this case from [[build]]ing [http://en.wikipedia.org/wiki/Quassel quassel]:
 +
CMake Error at cmake/modules/FindQt4.cmake:1257 (MESSAGE):
 +
  Qt qmake not found!
 +
 +
'''Reason''': You are missing the qt build environment
 +
 +
'''Solution''', in this case for SUSE Linux 11.4:
 +
[[yast]] -i libqt4-devel
 +
 +
=== serial ===
 +
'''Symptom:''' when calling a python program you get an error message like this:
 +
ImportError: No module named serial
 +
 +
'''Solution:''' Install python's serial module, e.g. for SUSE Linux:
 +
yast -i python-pyserial
 +
 +
=== smtp error 450 ===
 +
;Symptom: after [[setting up a mail server]] and sending mail via [[roundCube]] you get the following error message:
 +
SMTP Error (450): Failed to add recipient "whoever@domain.de" (4.1.8 <whoever@localhost>: Sender address rejected: Domain not found).
 +
;Solution: in [[roundcube]] set Settings -> Identities -> user -> Email to contain a correct domain as listed in /etc/postfix/main.cf
 +
 +
=== ssh does not work ===
 +
'''Symptom:''' when calling a GUI program within an ssh -X session, you get an error message like this:
 +
X Error of failed request:  BadAtom (invalid Atom parameter)
 +
  Major opcode of failed request:  20 (X_GetProperty)
 +
  Atom id in failed request:  0x17
 +
  Serial number of failed request:  4
 +
  Current serial number in output stream:  4
 +
 +
'''Solution:''' Exit the session, reconnect with ssh -Y
 +
 +
=== System administrator is not allowed to remote login ===
 +
'''Symptom:''' When trying to log in as root via [[vnc]] you get the error message
 +
System administrator is not allowed to remote login.
 +
 +
'''Solution,''' in this case for SUSE Linux: yast2 -> System -> /etc/sysconfig editor -> Desktop -> Display Manager -> DISPLAYMANAGER_ROOT_LOGIN_REMOTE -> yes
 +
 +
=== unknown filesystem smbfs ===
 +
'''Symptom:''' When trying to mount a [[sambA]] share that is entered in [[fstab]] using the [[commAnd]]
 +
mount -a
 +
you get the error messages
 +
unknown filesystem smbfs
 +
'''Solution:''' replace "smbfs" in /etc/fstab by "cifs"
 +
 +
=== unary operator expected ===
 +
'''Symptom''' when running a [[program]] you get an error message like
 +
test.sh: line 4: [: =: unary operator expected
 +
 +
'''Reason''' See [[what does "unary operator expected" mean]].
 +
 +
=== USB ===
 +
'''Symptom''' when [[building]] a [[program]] you get an error message like
 +
main_jlibnxt.c:28:17: fatal error: usb.h: No such file or directory
 +
 +
'''Solution''', in this case for SUSE Linux: Install libusb-compat-devel like this:
 +
yast -i libusb-compat-devel
 +
 +
=== X11 forwarding request failed on channel 0 ===
 +
Solution, in this case for SUSE Linux.
 +
yast -i xorg-x11
 +
 +
=== xclock not found ===
 +
'''Symptom:''' You cannot call xclock. When you [[open a console]] and do it you get the message
 +
xclock: command not found
 +
'''Solution:''' [[Install]] xclock's [[package]], in this case with SUSE Linux 12.1:
 +
yast -i xorg-x11
 +
 +
=== Xlib ===
 +
'''Symptom''', in this case from [[build]]ing [[fsl]]:
 +
error: X11/Xlib.h: No such file or directory
 +
'''Solution''', in this case for CentOs 6:
 +
yum install libX11-devel
 +
 +
=== yasm ===
 +
'''Symptom''', in this case from [[build]]ing mplayer:
 +
Error: yasm not found, use --yasm='' if you really want to compile without 
 +
'''Solution''', in this case for SUSE Linux 11.3:
 +
yast -i [http://en.wikipedia.org/wiki/Yasm yasm]
 +
 +
=== YaST2 Control Center is not running as root ===
 +
'''Symptom''': you get a message in yast or yast2 saying
 +
YaST2 Control Center is not running as root.
 +
You can only see modules that do not require root privileges.
 +
 +
'''Reason''': [[YaST2_Control_Center_is_not_running_as_root]]
 +
 +
'''Solution''': Check you are root with the command
 +
who am i
 +
Check your memory. Missing memory can be the root cause for this error message.
  
 
=== zlib ===
 
=== zlib ===
<pre>
+
'''Symptom''', in this case from [[build]]ing [[freeciv]]:
linux-zcx2:~/freeciv-2.1.9 # ./configure
+
  checking for gzgets in -lz... no
checking build system type... i686-pc-linux-gnu
+
configure: error: Could not find zlib library.
checking host system type... i686-pc-linux-gnu
+
'''Reason:''' Your '''''z'''''ipping library ''zlib'' is not [[install]]ed in a way that you can build [[software]] with [[dependencies]] on it. You need the development [[package]] of zlib.
checking for a BSD-compatible install... /usr/bin/install -c
+
 
checking whether build environment is sane... yes
+
'''Solution''', in this case for SUSE Linux:
checking for gawk... gawk
+
[[yast]] -i zlib-devel
checking whether make sets $(MAKE)... no
 
checking whether to enable maintainer-specific portions of Makefiles... no
 
checking for style of include used by make... none
 
checking for gcc... gcc
 
checking for C compiler default output... a.out
 
checking whether the C compiler works... yes
 
checking whether we are cross compiling... no
 
checking for suffix of executables...
 
checking for suffix of object files... o
 
checking whether we are using the GNU C compiler... yes
 
checking whether gcc accepts -g... yes
 
checking for gcc option to accept ANSI C... none needed
 
checking dependency style of gcc... none
 
checking how to run the C preprocessor... gcc -E
 
checking for egrep... grep -E
 
checking for ANSI C header files... yes
 
checking for sys/types.h... yes
 
checking for sys/stat.h... yes
 
checking for stdlib.h... yes
 
checking for string.h... yes
 
checking for memory.h... yes
 
checking for strings.h... yes
 
checking for inttypes.h... yes
 
checking for stdint.h... yes
 
checking for unistd.h... yes
 
checking for gawk... (cached) gawk
 
checking for gcc... (cached) gcc
 
checking whether we are using the GNU C compiler... (cached) yes
 
checking whether gcc accepts -g... (cached) yes
 
checking for gcc option to accept ANSI C... (cached) none needed
 
checking dependency style of gcc... (cached) none
 
checking how to run the C preprocessor... gcc -E
 
checking for g++... g++
 
checking whether we are using the GNU C++ compiler... yes
 
checking whether g++ accepts -g... yes
 
checking dependency style of g++... none
 
checking whether ln -s works... yes
 
checking for ranlib... ranlib
 
checking for ar... ar
 
checking for uname... uname
 
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
 
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
 
checking for shared library run path origin... done
 
checking for iconv... yes
 
checking for working iconv... yes
 
checking for iconv declaration...
 
        extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
 
checking for libcharset... no
 
checking for nl_langinfo and CODESET... yes
 
checking for strerror in -lcposix... no
 
checking for an ANSI C-conforming const... yes
 
checking for inline... inline
 
checking for off_t... yes
 
checking for size_t... yes
 
checking for working alloca.h... yes
 
checking for alloca... yes
 
checking for stdlib.h... (cached) yes
 
checking for unistd.h... (cached) yes
 
checking for getpagesize... yes
 
checking for working mmap... yes
 
checking whether we are using the GNU C Library 2.1 or newer... yes
 
checking argz.h usability... yes
 
checking argz.h presence... yes
 
checking for argz.h... yes
 
checking limits.h usability... yes
 
checking limits.h presence... yes
 
checking for limits.h... yes
 
checking locale.h usability... yes
 
checking locale.h presence... yes
 
checking for locale.h... yes
 
checking nl_types.h usability... yes
 
checking nl_types.h presence... yes
 
checking for nl_types.h... yes
 
checking malloc.h usability... yes
 
checking malloc.h presence... yes
 
checking for malloc.h... yes
 
checking stddef.h usability... yes
 
checking stddef.h presence... yes
 
checking for stddef.h... yes
 
checking for stdlib.h... (cached) yes
 
checking for string.h... (cached) yes
 
checking for unistd.h... (cached) yes
 
checking sys/param.h usability... yes
 
checking sys/param.h presence... yes
 
checking for sys/param.h... yes
 
checking for feof_unlocked... yes
 
checking for fgets_unlocked... yes
 
checking for getcwd... yes
 
checking for getegid... yes
 
checking for geteuid... yes
 
checking for getgid... yes
 
checking for getuid... yes
 
checking for mempcpy... yes
 
checking for munmap... yes
 
checking for putenv... yes
 
checking for setenv... yes
 
checking for setlocale... yes
 
checking for stpcpy... yes
 
checking for strchr... yes
 
checking for strcasecmp... yes
 
checking for strdup... yes
 
checking for strtoul... yes
 
checking for tsearch... yes
 
checking for __argz_count... yes
 
checking for __argz_stringify... yes
 
checking for __argz_next... yes
 
checking for iconv... (cached) yes
 
checking for working iconv... (cached) yes
 
checking for iconv declaration... (cached)
 
        extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
 
checking for nl_langinfo and CODESET... (cached) yes
 
checking for LC_MESSAGES... yes
 
checking whether NLS is requested... yes
 
checking whether included gettext is requested... no
 
checking libintl.h usability... yes
 
checking libintl.h presence... yes
 
checking for libintl.h... yes
 
checking for GNU gettext in libc... yes
 
checking for dcgettext... yes
 
checking for msgfmt... /usr/bin/msgfmt
 
checking for gmsgfmt... /usr/bin/msgfmt
 
checking for xgettext... no
 
checking for bison... no
 
checking for catalogs to be installed... ar cs ca da de el en_GB eo es et fa fi fr he hu it ja ko lt nl nb no pl pt pt_BR ro ru sv tr uk zh_CN
 
checking for ngettext in -lc... yes
 
checking whether libc's ngettext works at runtime... yes
 
checking for C99 variadic macros... yes
 
checking for C99 variable arrays... yes
 
checking for C99 initializers... yes
 
checking for stdint.h... (cached) yes
 
checking for C99 stdint.h... yes
 
checking for gzgets in -lz... no
 
configure: error: Could not find zlib library.
 
linux-zcx2:~/freeciv-2.1.9 # yast -i zlib-devel
 
</pre>
 
  
 
= See also =
 
= See also =
 
* [[dependencies]]
 
* [[dependencies]]
 +
* [[troubleshooting]]

Latest revision as of 11:02, 1 January 2021

This is a collection of known error messages and their solution. Mostly these error messages result from missing dependencies.

a52

Symptom, in this case from building vlc:

configure: error: Could not find liba52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin.

Solution, in this case for SUSE Linux:

yast -i liba52-devel

access forbidden

Symptom: When surfing to a web site from your apache web server your browser tells you

Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 403

Solution, in this case for SUSE Linux: In /etc/apache2 search for AllowOverride:

grep -ir "allowoverride" *

Make sure all AllowOverride are set to None, then restart your apache:

/etc/init.d/apache2 restart

atk

Symptom, in this case from gqcam:

/usr/include/gtk/gtkwidget.h:40:21: fatal error: atk/atk.h: No such file or directory
compilation terminated.
make: *** [gqcam.o] Error 1

Solution, in this case for SUSE Linux 11.3:

cp -r /usr/include/atk-1.0/atk/ /usr/include/

C compiler

~/freeciv-2.1.9 # ./configure 
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
linux-zcx2:~/freeciv-2.1.9 # gcc
If 'gcc' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf gcc
linux-zcx2:~/freeciv-2.1.9 # yast -i gcc-c++

C++ compiler

Problem e.g.:

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

Solution, e.g. under Debian:

aptitude install build-essential

C header files

Symptom: When starting vmware player you get an error message:

C header files matching your running kernel were not found.  Refer to your distribution's documentation for installation instructions.

Solution, in this case for SUSE Linux 12.1 is to enable compiling with the kernel sources:

yast -i kernel-source gcc-c++

can't open display

Symptom: When you call yast2 on a remote computer you get the error message

terminate called after throwing an instance of 'YUIException'
  what():  Can't open display 
YaST got signal 6 at YCP file Wizard.ycp:699

Solution: Log out and log in again using ssh -Y instead of ssh -X

capabilities.h

Symptom, in this case from building vdr

vdr.c:35:28: fatal error: sys/capability.h: No such file or directory 

Solution, in this case for SUSE 11.3

yast -i libcap-devel

cairo

Symptom, in this case from building gqcam:

/usr/include/gdk/gdkscreen.h:31:19: fatal error: cairo.h: No such file or directory

Solution, in this case for SUSE 11.3:

cp /usr/include/cairo/* /usr/include/

certificate.pem

Symptom: A program, e.g. sHellinaBox outputs the error message:

Cannot read valid certificate from "certificate.pem". Check file permissions and file format.

Reason, in this case for sHellInaBox: The program cannot create certificate.pem in the current folder

Solution, in this case for shellInABox: start the program in /tmp

clock_gettime

Symptom, in this case from building http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c:

linux_usbfs.c:(.text+0x182): undefined reference to `clock_gettime'

Reason: You are missing the realtime library

Solution: Include the realtime library into your compile options, add the paramter

-lrt

confuse.h

Symptom: When building a software you get an error message like

callbacks.c:10:21: fatal error: confuse.h: No such file or directory

Solution, in this case for SUSE Linux:

yast -i libconfuse-devel

curl

Symptom
When building a software you get an error message like
configure: error: libcurl development files required
Solution
Install the development package for libcurl, e.g. for SUSE:
yast -i libcurl-devel

or for Ubuntu 19.10:

sudo apt-get install libcurl4-nss-dev

DBUS

Symptom, in this case from building vlc:

configure: error: Couldn't find DBus >= 1.0.0, install libdbus-dev ?

Solution, in this case for SUSE 11.3:

yast -i dbus-1-devel

dlopen

Symptom, in this case from building http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c

ftd2xx.c:(.text+0x2cb): undefined reference to `dlopen'

Solution, in this case for SUSE 12.1: Add

-ldl

to your compile parameters.

firefox

Symptom: When trying to start firefox you get a message:

Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

Solution, in this case for SUSE Linux 12.1: open a console and enter the command

killall firefox-bin

fribidi

Symptom, in this case from building vlc:

configure: error: Package requirements (fribidi) were not met: 

No package 'fribidi' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FRIBIDI_CFLAGS
and FRIBIDI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Solution, in this case for SUSE 11.3:

yast -i fribidi-devel

ftp: local: whatever.log: Operation not permitted

Symptom: you want to download a file using e.g.

ftp -p ftp://user:password@server/tmp/whatever.log

and get an error message

ftp: local: whatever.log: Operation not permitted

There is already a file whatever.log in your current working directory. You do not have write access to this file.

Reason: The command tries to overwrite your local whatever.log and fails because of missing privileges.

Solution: Delete the local file whatever.log as root:

rm whatever.log

gcrypt

Symptom, in this case from building vlc:

configure: error: libgcrypt version 1.1.94 or higher not found. Install libgcrypt or use --disable-libgcrypt. Have a nice day.

Solution, in this case for SUSE 11.3:

yast -i libgcrypt-devel

gdk

Symptom, in this case from building gqcam:

/usr/include/gtk/gtk.h:32:21: fatal error: gdk/gdk.h: No such file or directory

Solution, in this case for SUSE Linux 11.3:

cp -pr /usr/include/gtk-2.0/gdk /usr/include/

gdkconfig

Symptom:

/usr/include/gdk/gdktypes.h:55:23: fatal error: gdkconfig.h: No such file or directory
compilation terminated.
make: *** [gqcam.o] Error 1

Solution:

linux-noqb:~/gqcam-0.8 # cd /usr/include/
linux-noqb:/usr/include # find -iname "gdkconfig*"
linux-noqb:/usr/include # cd /usr/lib64/
linux-noqb:/usr/lib64 # find -iname "gdkconfig*"
./gtk-2.0/include/gdkconfig.h
linux-noqb:/usr/lib64 # cp /usr/lib64/gtk-2.0/include/gdkconfig.h /usr/include/

gdk-pixbuf

Symptom:

/usr/include/gdk/gdkpixbuf.h:37:35: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
compilation terminated.
make: *** [gqcam.o] Error 1

Solution:

linux-noqb:~/gqcam-0.8 # cd /usr/include/
linux-noqb:/usr/include # find -iname "gdk-pixbuf*"
./gtk-2.0/gdk-pixbuf
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-animation.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-features.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-transform.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-io.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h
./gtk-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h
./gtk-2.0/gdk-pixbuf-xlib
./gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h
./gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h
linux-noqb:/usr/include # cp -r /usr/include/gtk-2.0/gdk-pixbuf /usr/include/

gettext

Symptom, in this example from building pidgin:

configure: error: GNU gettext tools not found; required for intltool

Solution, in this case for SLES 11:

# yast -i gettext-tools

gio

Symptom, in this case building from gqcam:

/usr/include/gdk/gdkapplaunchcontext.h:30:21: fatal error: gio/gio.h: No such file or directory

Solution, in this case for SUSE Linux 11.3:

cp -r /usr/include/glib-2.0/gio/ /usr/include/

glib

Symptom, in this case from building xawtv:

error: glib.h: No such file or directory

Solution (in this case for SUSE 11.3):

yast -i glib2-devel
cp /usr/include/glib-2.0/glib.h /usr/include/
cp -pr /usr/include/glib-2.0/glib /usr/include/

glibconfig

Symptom, in this case from building gqcam:

/usr/include/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory

Solution, in this case for SUSE 11.3:

cp /usr/lib64/glib-2.0/include/glibconfig.h /usr/include/

gmodule

Symptom, in this case from building gqcam:

/usr/include/gio/giomodule.h:31:21: fatal error: gmodule.h: No such file or directory

Solution, in this case for SUSE 11.3:

cp /usr/include/glib-2.0/gmodule.h /usr/include/

gtk

Symptom, in this case from building kino:

checking for GTK2... configure: error: Package requirements (gthread-2.0 libglade-2.0 >= 2.5.0 gtk+-2.0 >= 2.6) were not met: 

No package 'libglade-2.0' found

Solution, in this case for SUSE 11.3:

yast -i libglade2-devel

gtk-config

Symptom, in this case from building gqcam:

/bin/sh: gtk-config: command not found
gqcam.c:32:21: fatal error: gtk/gtk.h: No such file or directory

Solution, in this case for SUSE 11.3:

  • install gtk 2.20
  • copy the header files
cp -pr /usr/include/gtk-2.0/gtk/ /usr/include

gtk-window-dialog

frontend.c:411:44: error: ‘GTK_WINDOW_DIALOG’ undeclared (first use in this function)
frontend.c:411:44: note: each undeclared identifier is reported only once for each function it appears in
make: *** [frontend.o] Error 1
linux-noqb:~/gqcam-0.8 # cd
[1]+  Exit 16                 yast2 sw_single  (wd: ~/gqcam-0.8)
(wd now: ~)
linux-noqb:~ # cd gtk+-2.20.1/
linux-noqb:~/gtk+-2.20.1 # grep -ri "gtk_window_dialog" *
ChangeLog.pre-1-0:      GTK_WINDOW_DIALOG as a destination for reparenting the child of
ChangeLog.pre-2-0:      * gtk/testgtk.c (dnd_drop): remove use of GTK_WINDOW_DIALOG
ChangeLog.pre-2-0:      * gtk/gtkcompat.h (GTK_WINDOW_DIALOG): compat #define
ChangeLog.pre-2-0:      GTK_WINDOW_DIALOG GTK_WINDOW_TOPLEVEL
ChangeLog.pre-2-0:      * gtk/gtkenums.h (enum GtkWindowType): remove GTK_WINDOW_DIALOG

intltool

Symptom, in this case from building pidgin:

configure: error: The intltool scripts were not found. Please install intltool.

Solution, in this case with SLES 11:

# wget http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.5.tar.bz2
# bunzip2 intltool-0.35.5.tar.bz2
# tar xvf intltool-0.35.5.tar
# cd intltool-0.35.5/
# ./configure && make -j8 && make install

jni

Symptom, in this case from compiling soprano:

-- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
CMake Error at CMakeLists.txt:84 (file):
  file Internal CMake error when trying to open file:
  /usr/lib64/jvm/java-1.7.0-openjdk/jni.h for reading.

Solution: Install the development toolkit for java, in this case for SUSE 12.2:

java-1_7_0-openjdk-devel

jpeg

Symptom, 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

KDE

Symptom:

  ERROR: Could not find KDE4 kde4-config

Solution, e.g. under Debian:

apt-get install kdelibs5-dev

libasound_module_pcm_pulse.so

Symptom, in this case form installing skype:

libasound_module_pcm_pulse.so is needed by skype-4.3.0.37-suse121.i586

Solution, in this case for SUSE Linux 13.1x64:

yast -i alsa-plugins-pulse-32bit

libavcodec

Symptom, in this case from building vlc:

configure: error: No package 'libavcodec' found

Solution, in this case for SUSE Linux Enterprise Server 11:

yast -i libffmpeg-devel

liblavdisplay

Symptom, e.g. when compiling mjpegtools:

./.libs/liblavplay.so: undefined reference to `XOpenDisplay'

Solution, e.g. under SUSE:

yast -i libSDL-devel

libQtDBus

Symptom, in this case from running skype:

skype: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory

Reason: You do not have the 32bit libraries for Qt.

Solution, in this case for SUSE 11.3:

yast -i libqt4-32bit

libfontconfig

Symptom, in this case from building xawtv:

/usr/bin/ld: cannot find -lfontconfig

Solution, in this case for Ubuntu 11.10:

apt-get install libfontconfig1-dev

libgdk

Symptom, in this case from running realplay:

/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Reason: For SUSE Linux, libgdk-x11-2.0.so.0 is provided by the package libgtk. /usr/lib64/libgdk-x11-2.0.so.0 is provided by the package libgtk-2_0-0-2.24.7-2.5.1.x86_64:

# rpm -qf /usr/lib64/libgdk-x11-2.0.so.0
libgtk-2_0-0-2.24.7-2.5.1.x86_64

/usr/lib/libgdk-x11-2.0.so.0 is provided by the package libgtk-2_0-0-32bit:

rpm -qf /usr/lib/libgdk-x11-2.0.so.0
libgtk-2_0-0-32bit-2.24.7-2.5.1.x86_64

Solution, in this case for SUSE 12.1:

yast -i libgtk-2_0-0-32bit

libQt

Problem, in this case from running 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

libQtGui

Problem, in this case from running skype:

skype: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory

Reason: You do not have the 32bit libraries for Qt.

Solution:

yast -i libqt4-x11-32bit

libXaw

Symptom, in this case from building xawtv:

/usr/bin/ld: cannot find -lXaw

Solution, in this case for Ubuntu 11.10:

apt-get install libxaw7-dev

libXext

Symptom, in this case from building xawtv:

/usr/bin/ld: cannot find -lXext

Solution, in this case for Ubuntu 11.10:

apt-get install libxext-dev

libXm

Symptom: When installing an rpm (in this case ICAClient) you get an error like

error: Failed dependencies:
        libXm.so.4 is needed by ICAClient-11.0-1.i386

Solution: Install openmotif-libs, best for 32bit and 64bit.

You can find out what package a file belongs to after installing the rpm like this:

rpm -qf /usr/lib64/libXm.so.4
openmotif-libs-2.3.1-3.13

libXv

Symptom, in this case from installing realplayer:

# rpm -ivh Downloads/RealPlayer11GOLD.rpm 
error: Failed dependencies:
        libXv.so.1 is needed by realplay-11.0.2.1744-1.i386

Solution, in this case for SUSE Linux:

# yast -i xorg-x11-libXv-32bit

libxml

Symptom, in this case from building xawtv:

libxml/parser.h: No such file or directory

Solution, in this case for SUSE 11.3:

yast -i libxml-devel

libxml 2

Symptom, in this case from building xawtv:

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

Solution, in this case for SUSE 11.3:

yast -i libxml2-devel

libXp

Symptom, in this case from building xawtv:

/usr/bin/ld: cannot find -lXp

Solution, in this case for Ubuntu 11.10:

apt-get install libxp-dev

libXss

Symptom, in this case from running skype
tweedleburg:~/Downloads/skype-4.3.0.37 # ./skype
./skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
Solution, in this case for SUSE Linux
yast -i libXss1-32bit

libpng

Symptom, in this case from building xawtv:

/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

Solution, in this case for SUSE 11.3:

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

lua

Symptom, in this case from building vlc:

configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.

Solution, in this case for SUSE 11.3:

yast -i lua-devel

lzma

Symptom: When installing an rpm package delivers an unsatisfied dependency:

lzma  is needed

Solution, in this case for RHEL 6.6:

rpm -ivh xz-lzma-compat-*.x86_64.rpm

mad

Symptom, in this case from building vlc:

configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.

Solution, in this case for SUSE Linux Enterprise Server 11:

yast -i libmad-devel

ncurses

Symptom, in this case from building xawtv:

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

Solution, in this case for SUSE 11.3:

yast -i ncurses-devel

Net/DAV/Server.pm

Symptom: Trying to run a perl program you get the message:

Can't locate Net/DAV/Server.pm in @INC (@INC contains

Reason: Perl has a library of functions, and the module Net/DAV/Server.pm is missing there.

Solution: Install Net/DAV/Server.pm as described under cpan.

OSSP-UUID

Symptom: During build you get the error message

configure: error: "The OSSP UUID library is required"
Solution
install OSSP UUID lib, e.g. under Ubuntu:
apt-get install libossp-uuid-dev

pango

Symptom:

/usr/include/gdk/gdktypes.h:37:25: fatal error: pango/pango.h: No such file or directory
compilation terminated.
make: *** [gqcam.o] Error 1
linux-noqb:~/gqcam-0.8 # cd /usr/include/
linux-noqb:/usr/include # find -iname "pango*"
./pango-1.0
./pango-1.0/pango
./pango-1.0/pango/pango-break.h
./pango-1.0/pango/pangoft2.h
./pango-1.0/pango/pango.h
[...]

Solution:

linux-noqb:/usr/include # cp -r /usr/include/pango-1.0/pango/ /usr/include/

popt

Symptom, in this case from building gphoto2:

* Cannot autodetect popt.h

Solution, in this case for SUSE Linux:

yast -i popt-devel

pthread_create

Symptom, in this case from building http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c

undefined reference to `pthread_create'

Solution, in this case for SUSE Linux 12.1: Add

-lpthread

to your compile parameters

python.h

Symptom, in this case from setting up uniconvertor:

src/modules/filter/streamfilter.c:24:20: fatal error: Python.h: No such file or directory

Solution, in this case for SUSE Linux 12.1:

yast -i python-devel

qt

Symptom, in this case from building quassel:

CMake Error at cmake/modules/FindQt4.cmake:1257 (MESSAGE):
  Qt qmake not found!

Reason: You are missing the qt build environment

Solution, in this case for SUSE Linux 11.4:

yast -i libqt4-devel

serial

Symptom: when calling a python program you get an error message like this:

ImportError: No module named serial

Solution: Install python's serial module, e.g. for SUSE Linux:

yast -i python-pyserial

smtp error 450

Symptom
after setting up a mail server and sending mail via roundCube you get the following error message:
SMTP Error (450): Failed to add recipient "whoever@domain.de" (4.1.8 <whoever@localhost>: Sender address rejected: Domain not found).
Solution
in roundcube set Settings -> Identities -> user -> Email to contain a correct domain as listed in /etc/postfix/main.cf

ssh does not work

Symptom: when calling a GUI program within an ssh -X session, you get an error message like this:

X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x17
  Serial number of failed request:  4
  Current serial number in output stream:  4

Solution: Exit the session, reconnect with ssh -Y

System administrator is not allowed to remote login

Symptom: When trying to log in as root via vnc you get the error message

System administrator is not allowed to remote login.

Solution, in this case for SUSE Linux: yast2 -> System -> /etc/sysconfig editor -> Desktop -> Display Manager -> DISPLAYMANAGER_ROOT_LOGIN_REMOTE -> yes

unknown filesystem smbfs

Symptom: When trying to mount a sambA share that is entered in fstab using the commAnd

mount -a 

you get the error messages

unknown filesystem smbfs

Solution: replace "smbfs" in /etc/fstab by "cifs"

unary operator expected

Symptom when running a program you get an error message like

test.sh: line 4: [: =: unary operator expected

Reason See what does "unary operator expected" mean.

USB

Symptom when building a program you get an error message like

main_jlibnxt.c:28:17: fatal error: usb.h: No such file or directory

Solution, in this case for SUSE Linux: Install libusb-compat-devel like this:

yast -i libusb-compat-devel

X11 forwarding request failed on channel 0

Solution, in this case for SUSE Linux.

yast -i xorg-x11

xclock not found

Symptom: You cannot call xclock. When you open a console and do it you get the message

xclock: command not found

Solution: Install xclock's package, in this case with SUSE Linux 12.1:

yast -i xorg-x11

Xlib

Symptom, in this case from building fsl:

error: X11/Xlib.h: No such file or directory

Solution, in this case for CentOs 6:

yum install libX11-devel

yasm

Symptom, in this case from building mplayer:

Error: yasm not found, use --yasm= if you really want to compile without  

Solution, in this case for SUSE Linux 11.3:

yast -i yasm

YaST2 Control Center is not running as root

Symptom: you get a message in yast or yast2 saying

YaST2 Control Center is not running as root.
You can only see modules that do not require root privileges.

Reason: YaST2_Control_Center_is_not_running_as_root

Solution: Check you are root with the command

who am i

Check your memory. Missing memory can be the root cause for this error message.

zlib

Symptom, in this case from building freeciv:

checking for gzgets in -lz... no
configure: error: Could not find zlib library.

Reason: Your zipping library zlib is not installed in a way that you can build software with dependencies on it. You need the development package of zlib.

Solution, in this case for SUSE Linux:

yast -i zlib-devel

See also