[Qt-interest] (no subject)

ying.cheng ying.cheng at sseec.com.cn
Mon Sep 6 09:50:30 CEST 2010


hello,everyone

The car & controller have run on my ARM!!
Thanks very much for the list!!!!!!







-----Original message-----
From:Thiago Macieira <thiago at kde.org>
To:qt-interest at trolltech.com
Date:Mon, 06 Sep 2010 08:24:57 +0200
Subject:Re: [Qt-interest] (no subject)


On Monday 6. September 2010 05.49.05 ying.cheng wrote:
> hi,Thiago,

Please mail the list, not me. The list is helping you, and I'm just a member 
of the list.

> 1. I could run qdbus On my ARM, the results:
> 
> ./qdbus: error while loading shared libraries: libdbus-1.so.3: cannot open
> shared object file: No such file or directory
> 
>   you are right, Qt don't find libdbus-1.so.3. But I have copy the
> libdbus-1.so.3,libdbus-1.so,libdbus-1.so.3.4.0 to /lib: /usr/local/lib:
> /usr/local/dbus/lib: /eu206/qt46/lib(the path of Qt libraries). To be
> exactly, I put libdbus-1.so.3 in each "lib" file On my ARM file system.

Are you sure you copied the right files, the ARM ones?

If you copied the symlink, did you also copy the actual file?

> 2. about ld.so.conf.d:
>    I create the file "libdbus.conf" in /etc/ld.so.conf.d On UBUNTU and
> write the path of libdbus-1.so.3 on the file. Then run sudo ldconfig,
> there is no error to open any file. But I don't understand its use. How it
> effect the running results of qdbus On ARM? I have tried to recompile the
> car & controller, Then run them on ARM, the controller still show
> "disconnect".

The /etc/ld.so.conf file on your ARM board tells the dynamic linker where to 
search for libraries.

What we need is the libdbus-1.so.3 file somewhere where the dynamic linker finds 
it.

>    what should I do next?

Make sure that QtDBus can find and load the libdbus-1 library.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest



-----------------
Best Regards & Sincere Appreciation




More information about the Qt-interest-old mailing list