[Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64 with g++

Walter Stefan Stefan.Walter at lisec.com
Fri Mar 4 08:07:00 CET 2016

I have done a clean build.

Where can we address this issue?

Von: Development <development-bounces+stefan.walter=lisec.com at qt-project.org> im Auftrag von Thiago Macieira <thiago.macieira at intel.com>
Gesendet: Freitag, 04. März 2016 10:40
An: development at qt-project.org
Betreff: Re: [Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64        with g++

On sexta-feira, 4 de março de 2016 04:49:39 PST Walter Stefan wrote:
> g++ -Wl,-O1 -Wl,--enable-new-dtags
> -Wl,-rpath,/home/walteste/qt-5.6/qt-5.6.0-git/qt-install/lib -o
> ../../../bin/servicefw .obj/servicefw.o
> .obj/servicemetadata.o   -L/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsy
> stems/lib -lQt5ServiceFramework
> -L/home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtbase/lib -lQt5Core
> -lpthread /usr/bin/ld: warning: libQt5DBus.so.5, needed by
> /home/walteste/qt-5.6/qt-5.6.0-git/qt-build/qtsystems/lib/libQt5ServiceFram
> ework.so, not found (try using -rpath or -rpath-link)

Same problem as before. I don't know what's happening.

This seems to be the result of some recent changes to where libraries are
stored during a build, alongside some RPATH options. However, I don't know
what caused it and I can't reproduce locally.

I built qtconnectivity/examples/nfc/annotatedurl example and the command-line
for the linking is exactly like the one you reported before, modulo the build

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Development mailing list
Development at qt-project.org

More information about the Development mailing list