Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.7.0 on Centos 6.0
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7.0 on Centos 6.0

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
16 Posts 2 Posters 4.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    borisa
    wrote on last edited by A Former User
    #1

    Hi,

    I am trying to install the QT on the Centos 6.0 (qt-everywhere-opensource-src-5.7.0.tar.gz)
    I configured the qt: ./configure -release -opensource -confirm-license -shared -no-qml-debug -openssl -qt-xcb -verbose -v
    and run the gmake.
    I got error, the gmake trying to compile the chromium
    The error:
    /opt/QT/QT_5.7.0/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/third_party/webrtc/modules/libvideo_render.a -Wl,--end-group -lrt -ldl -lresolv -lasound -lm -lz -lexpat -lXext -lX11 -lXcomposite -lXrender -lXdamage -lXfixes -L/opt/QT/QT_5.7.0/qtwebengine/src/core/api/Release -Wl,-whole-archive -lqtwebenginecoreapi -Wl,-no-whole-archive -lEGL -lQt5Quick -L/opt/QT/QT_5.7.0/qtbase/lib -lQt5Gui -L/opt/QT/QT_5.7.0/qtdeclarative/lib -lQt5Qml -lQt5Network -lQt5Core -lpthread -lQt5Gui -L/opt/QT/QT_5.7.0/qtbase/lib -lQt5Core -lpthread -lQt5Qml -L/opt/QT/QT_5.7.0/qtbase/lib -lQt5Network -lQt5Core -lpthread -lQt5Network -L/opt/QT/QT_5.7.0/qtbase/lib -lQt5Core -lpthread -lQt5Core -lpthread -lGL
    /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'
    /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_int(FcPattern*, char const*): error: undefined reference to 'FcPatternGetInteger'
    /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 valid_pattern(FcPattern*): error: undefined reference to 'FcPatternGetBool'
    /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 SkFontMgr_fontconfig::onLegacyCreateTypeface(char const*, unsigned int) const: error: undefined reference to 'FcGetVersion'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcGetVersion'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcPatternCreate'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcPatternAddString'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcConfigSubstitute'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcDefaultSubstitute'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcFontSort'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcPatternDestroy'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcPatternDestroy'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcFontSetDestroy'
    /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 SkFontMgr_fontconfig::onMatchFamily(char const*) const: error: undefined reference to 'FcPatternDestroy'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function getWidthAdvance(FT_FaceRec
    , int, short): error: undefined reference to 'FT_Get_Advances'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function GetLetterCBox(FT_FaceRec
    *, char, FT_BBox
    ): error: undefined reference to 'FT_Get_Char_Index'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function GetLetterCBox(FT_FaceRec_
    , char, FT_BBox_): error: undefined reference to 'FT_Load_Glyph'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function GetLetterCBox(FT_FaceRec_
    , char, FT_BBox_): error: undefined reference to 'FT_Outline_Get_CBox'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function unref_ft_face(FT_FaceRec_
    ): error: undefined reference to 'FT_Done_Face'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function unref_ft_library() [clone .part.25]: error: undefined reference to 'FT_Done_Library'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function ref_ft_library(): error: undefined reference to 'FT_New_Library'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function ref_ft_library(): error: undefined reference to 'FT_Add_Default_Modules'
    /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/ports/skia_library.SkFontHost_FreeType.o):SkFontHost_FreeType.cpp:function ref_ft_library(): error: undefined reference to 'FT_Library_SetLcdFilter'

    Please help.
    Thx

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which version of GCC are you using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B Offline
        B Offline
        borisa
        wrote on last edited by borisa
        #3

        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?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Do you mean yum update freetype ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • B Offline
            B Offline
            borisa
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Did you check that you have all the dependencies dev packages installed ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • B Offline
                B Offline
                borisa
                wrote on last edited by
                #7

                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?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Which version of FontConfig do you have installed ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    borisa
                    wrote on last edited by
                    #9

                    fontconfig-2.8.0-5.el6.i686

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Silly question but is your system multi arch ?

                      On a side note, if you don't need QtWebEngine, you can also skip its build.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        borisa
                        wrote on last edited by
                        #11

                        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.

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          One thing that is strange is that I don't see any mention of FontConfig on the link like. Can you check that ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            borisa
                            wrote on last edited by
                            #13

                            Did you mean follow link?
                            http://stackoverflow.com/questions/1594234/qt-linking-error

                            if 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

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              It looks like somehow the dependencies are missing in the link list.

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • B Offline
                                B Offline
                                borisa
                                wrote on last edited by
                                #15

                                How can I check it or fix it?

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  I'll check the build of libskia_library.a

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  0

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved