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

Thiago Macieira thiago.macieira at intel.com
Fri Mar 4 07:40:08 CET 2016


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 
paths.

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




More information about the Development mailing list