PDA

View Full Version : ldbus error



Shiva
22nd December 2010, 09:16
Hi All,

I am trying to compile Qt 4.6.2 with dbus support. For this I have already cross compiled and installed expat-2-0.1 and dbus-1.2.24 properly in /usr/loca/expat and /usr/local/dbus respectively.When I try to configure Qt with the following command, it gives me this error "The QtBus module cannot be enabled because libdbus-1 version 0.93 was not found"

./configure -static -depths 4,16,24,32 -no-cups embedded arm -xplatform qws/linux-arm-g++ -little-endian -dbus -force-pkg-config

(Note: export PKG_CONFIG_PATH = /usr/local/dbus/lib/pkgconfig has been done)

But when I change my configure command to

./configure -static -depths 4,16,24,32 -no-cups embedded arm -xplatform qws/linux-arm-g++ -little-endian -ldbus-1 -force-pkg-config
(ie. Instead of -dbus I used -ldbus-1) the configure happens properly, but it gives me this error during the make. "/usr/bin/ld: cannot find -ldbus-1"

If anyone have got an idea about hoe to resolve this, please let me know.

Regards,
Siva

Filosofi
3rd June 2011, 14:27
I have the same problem with Qt 4.7.3

Gabriele