Unsolved Qt 5.7.0 on Centos 6.0
-
Hi,
Which version of GCC are you using ?
-
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
I think i need to upgrade the FreeType (currently my version is 2.3.11).
How can i upgrade it? -
Do you mean
yum update freetype
? -
No,
I found same bug - http://stackoverflow.com/questions/1594234/qt-linking-error
I have the latest freetype and fontconfig - i chceked
I dont know what to do, Please help -
Did you check that you have all the dependencies dev packages installed ?
-
Yes, I installed the followed list:
perl-version, mesa-libEGL-devel, flex, bison, gperf, libicu-devel, libxslt-devel, ruby, libgcrypt-devel, libgcrypt, pciutils-devel, nss-devel,
libXtst-devel, cups-devel, pulseaudio-libs-devel, libgudev1-devel, systemd-devel, libcap-devel, alsa-lib-devel, ruby, dbus, libXrandr-devel, libXcomposite-devel, libXcursor-devel, dbus-devel, fontconfig-devel, libXScrnSaver, libXScrnSaver-devel, expat-devel, mesa-libGL, mesa-libGLU, mesa-libGL-devel, mesa-libGLU-devel.
Do you think i miss some package? -
Which version of FontConfig do you have installed ?
-
fontconfig-2.8.0-5.el6.i686
-
Silly question but is your system multi arch ?
On a side note, if you don't need QtWebEngine, you can also skip its build.
-
No, I have two system 32 and 64 bit.
The behavior is the same on both distribution.
I want to upgrade to this version because of QtWebEngine. -
One thing that is strange is that I don't see any mention of FontConfig on the link like. Can you check that ?
-
Did you mean follow link?
http://stackoverflow.com/questions/1594234/qt-linking-errorif so, i tried to search same error on google - "/opt/QT/QT_5.7.0/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/skia/libskia_library.a(/opt/QT/QT_5.7.0/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/skia/../third_party/skia/src/fonts/skia_library.SkFontMgr_fontconfig.o):SkFontMgr_fontconfig.cpp:function get_name(_FcPattern*, char const*): error: undefined reference to 'FcPatternGetString'"
and found this bug.
I am not sure that the fontconfig is the solution.
My log file -
https://drive.google.com/file/d/0B41iVvI_jGtobnlzdGluR1pHWmc/view?usp=sharing -
It looks like somehow the dependencies are missing in the link list.
-
How can I check it or fix it?
-
I'll check the build of libskia_library.a