title: dbus - undefined reference to
body: <p>This topic is related with following <a href="https://stackoverflow.com/questions/21602607/dbus-how-to-set-include-paths">link</a> . Temporarily I solved problem with headers: I just modified all include paths. When I try to call some dbus function, for example <code>dbus_error_init(&amp;err);</code> I get a linker error: <strong>undefined reference to 'dbus_error_init'</strong>. libdbus-1.so is placed in /usr/lib/x86_64-linux-gnu so I added to pro file  (I use Qt Creator) following line:</p>
  
  <pre><code>LIBS += -L/usr/lib/x86_64-linux-gnu -llibdbus-1
  </code></pre>
  
  <p>but I get follwoing info: cannot find -llibdbus-1 How to fix that ?</p>