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 /usr/bin/ld: cannot find -lGL
Forum Updated to NodeBB v4.3 + New Features

problem /usr/bin/ld: cannot find -lGL

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 3 Posters 1.6k Views 2 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.
  • J Offline
    J Offline
    juanjo
    wrote on last edited by
    #1

    i have this problem always:

    /usr/bin/ld: cannot find -lGL
    collect2: error: ld returned 1 exit status
    make: *** [Prueba1] Error 1
    15:06:05: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project Prueba1 (kit: Desktop Qt 5.5.1 GCC 64bit)
    When executing step "Make"

    I can not solve it, i need help.

    QTcreator 3.6 QT 5.5.1 Ubuntu 14.04. LTS

    Thank

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      https://forum.qt.io/topic/54284/solved-error-on-linux-cannot-find-lgl

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      J 1 Reply Last reply
      0
      • JKSHJ JKSH

        https://forum.qt.io/topic/54284/solved-error-on-linux-cannot-find-lgl

        J Offline
        J Offline
        juanjo
        wrote on last edited by
        #3

        @JKSH

        thank but my ubuntu is 64 bits and that does not work:

        if i use:

        sudo apt-get install libglu1-mesa-dev

        error:

        "unity-control-center : Depende: libcheese-gtk23 (>= 3.4.0) pero no va a instalarse
        Depende: libcheese7 (>= 3.0.1) pero no va a instalarse
        E: Error, pkgProblemResolver::Resolve generĂ³ cortes, esto puede haber sido causado por paquetes retenidos."

        you could help me?

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

          @juanjo said:

          libcheese7 (>= 3.0.1)

          Hi this is a ubuntu issue and not so much Qt.
          maybe this can help you
          http://askubuntu.com/questions/588024/steam-install-error-on-14-04-ubuntu-64bit

          1 Reply Last reply
          0
          • J Offline
            J Offline
            juanjo
            wrote on last edited by juanjo
            #5

            pffff i solved but is a hard problem

            i use the comand:

            sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386

            but the problem continues, then i use:

            sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386

            and now it works

            Now it is not necessary use:

            sudo apt-get install libglu1-mesa-dev -y (https://wiki.qt.io/Install_Qt_5_on_Ubuntu)

            thank for help :)

            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