title: D-Bus linking issue
body: <p>I have been trying to compile a program for <code>dbus</code> and as suggested I did in the code as mention to a similar question. I did execute it as shown:</p>
  
  <pre><code>gcc `pkg-config --cflags dbus-glib-1` \
    `pkg-config --cflags dbus-1` \
    `pkg-config --cflags glib-2.0` \
     dbus-example.c \
    `pkg-config --libs dbus-glib-1` \
    `pkg-config --libs dbus-1` \
    `pkg-config --libs glib-2.0`
  </code></pre>
  
  <p>I am still getting the following error:</p>
  
  <pre><code>Package dbus-glib-1 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `dbus-glib-1.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'dbus-glib-1' found
  Package glib-2.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `glib-2.0.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'glib-2.0' found
  Package dbus-glib-1 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `dbus-glib-1.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'dbus-glib-1' found
  Package glib-2.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `glib-2.0.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'glib-2.0' found 
  </code></pre>
  
  <p>I installed the above mentioned packages, but still the error persists. </p>