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. Problem installing on RedHat 8, can't find libGL.so

Problem installing on RedHat 8, can't find libGL.so

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.6k 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.
  • Superduty60S Offline
    Superduty60S Offline
    Superduty60
    wrote on last edited by
    #1

    Hi, I'm trying to get started with Qt but have hit a roadblock on installation on my RHEL8 system. When running the ../qt5/configure script exactly as shown in the instructions, I'm getting the following error.

    ERROR: The OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
    QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

    The config.log file shows the following:

    None of [libGL.so libGL.a] found in [] and global paths.

    I have verified that libGL.so is indeed present in /usr/lib64 and I added a link to it in /usr/lib in an attempt to have it be seen. I have also tried adding the QMAKE_LIBDIR_OPENGL and QMAKE_LIBDIR_OPENGL_ES2 macros to the
    qtbase/mkspecs/linux-g++/qmake.conf file.

    I would appreciate some guidance on this.

    Thank you!

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

      Hi and welcome to devnet,

      You should check the test logs, there might be more hint about what exactly failed.

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

      Superduty60S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        You should check the test logs, there might be more hint about what exactly failed.

        Superduty60S Offline
        Superduty60S Offline
        Superduty60
        wrote on last edited by
        #3

        @SGaist Thank you, is that something other than the config.log file?

        SGaistS 1 Reply Last reply
        0
        • Superduty60S Superduty60

          @SGaist Thank you, is that something other than the config.log file?

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If memory serves well, there's a folder containing the tests and their result that should also be there.

          I don't remember whether RedHat has that option but on Debian you can request for the build dependencies of a package to be installed. This allows to install everything that is needed when you want to manually build a library such as Qt that has packages for that distribution.

          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