By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 923 - Build issue: kpowersave - /usr/bin/ld: cannot find -ldbus-tqt-1, DBUS_TQT_LIBRARY_DIRS is not passed to linker
Summary: Build issue: kpowersave - /usr/bin/ld: cannot find -ldbus-tqt-1, DBUS_TQT_LIB...
Status: RESOLVED WORKSFORME
Alias: None
Product: TDE
Classification: Unclassified
Component: other (any) (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: All Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-03-19 22:01 CDT by David C. Rankin
Modified: 2013-05-09 14:56 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Patch to ensure dbus headers are used. (315 bytes, patch)
2012-03-19 22:25 CDT, Darrell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David C. Rankin 2012-03-19 22:01:19 CDT
kpowersave fails to build due to a failure with DBUS_TQT_LIBRARY_DIRS not being passed to the linker causing the resulting error:

/usr/bin/ld: cannot find -ldbus-tqt-1
collect2: ld returned 1 exit status

  Correcting src/CMakeLists.txt to include ${DBUS_TQT_LIBRARY_DIRS} in the link_directories call resolves the issue:

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${DBUS_TQT_LIBRARY_DIRS}
)

Darrell has drafted and will post a patch.
Comment 1 Darrell 2012-03-19 22:25:17 CDT
Created attachment 499 [details]
Patch to ensure dbus headers are used.

Patch is not necessary on all systems. I can build kpowersave both with and without the patch on Slackware 13.1. Therefore the patch probably helps some and probably won't hurt others. A qualified person should evaluate whether the patch is necessary or the problem is caused elsewhere.
Comment 2 Darrell 2013-04-19 15:05:36 CDT
Is this report still valid?
Comment 3 Darrell 2013-05-09 14:56:34 CDT
No response from the original reporter. Closing as WORKSFORME.