dbus has a dependency on libSM which was not being declared (and would normally be satisfied by using system libraries).