trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] SOLVED Re: [trinity-devel] kpowersave - /usr/bin/ld: cannot find -ldbus-tqt-1

From: Darrell Anderson <humanreadable@...>
Date: Mon, 19 Mar 2012 12:22:21 -0700 (PDT)
> > kpowersave builds without error here on Slackware 13.1
> without patching
> > CMakeLists.txt. Adding the referenced patch makes no
> differnce and the
> > package builds the same.
> >
> > Darrell
> 
> Probably you have tqt-dbus somewhere in standard paths.

No, I don't. I have $PKG_CONFIG_PATH=/opt/trinity/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig and LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/trinity in my build environment. Perhaps that is the difference?

I see the following in the build output:

-- checking for one of the modules 'dbus-1'
-- checking for one of the modules 'dbus-tqt'

No errors.

In the cmake cache I see:

DBUS_CFLAGS:INTERNAL=-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
DBUS_INCLUDE_DIRS:INTERNAL=/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
DBUS_LDFLAGS:INTERNAL=-ldbus-1;-lpthread;-lrt
DBUS_STATIC_CFLAGS:INTERNAL=-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include
DBUS_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include
DBUS_STATIC_LDFLAGS:INTERNAL=-ldbus-1;-lpthread;-lrt
DBUS_TQT_CFLAGS:INTERNAL=-I/opt/trinity/include;-I/opt/trinity/include/dbus-1.0;-I/usr/include/dbus-1.0;-I/usr/lib/dbus-1.0/include

etc.

Darrell