Announcement

Collapse
No announcement yet.

64bit - nothing with -lGL will compile...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    64bit - nothing with -lGL will compile...

    ATI card
    64 bit system


    ld -lGL --verbose
    ...
    ==================================================
    attempt to open /usr/x86_64-linux-gnu/lib64/libGL.so failed
    attempt to open /usr/x86_64-linux-gnu/lib64/libGL.a failed
    attempt to open /usr/local/lib/x86_64-linux-gnu/libGL.so failed
    attempt to open /usr/local/lib/x86_64-linux-gnu/libGL.a failed
    attempt to open /usr/local/lib64/libGL.so failed
    attempt to open /usr/local/lib64/libGL.a failed
    attempt to open /lib/x86_64-linux-gnu/libGL.so failed
    attempt to open /lib/x86_64-linux-gnu/libGL.a failed
    attempt to open /lib64/libGL.so failed
    attempt to open /lib64/libGL.a failed
    attempt to open /usr/lib/x86_64-linux-gnu/libGL.so failed
    attempt to open /usr/lib/x86_64-linux-gnu/libGL.a failed
    attempt to open /usr/lib64/libGL.so failed
    attempt to open /usr/lib64/libGL.a failed
    attempt to open /usr/x86_64-linux-gnu/lib/libGL.so failed
    attempt to open /usr/x86_64-linux-gnu/lib/libGL.a failed
    attempt to open /usr/local/lib/libGL.so failed
    attempt to open /usr/local/lib/libGL.a failed
    attempt to open /lib/libGL.so failed
    attempt to open /lib/libGL.a failed
    attempt to open /usr/lib/libGL.so failed
    attempt to open /usr/lib/libGL.a failed
    ld: cannot find -lGL


    Well with such "system configuration" nothing with -lGL in makefile will compile on this magic 15.04

    yes i can do
    -
    L/usr/lib/x86_64-linux-gnu/mesa
    - or ln something to something
    - or many other madness

    but! why not make it "normal" from the box? why not to put lib in "right" place or "configure" ld correctly or whatever needed to KISS?

    PS - still not sure where do you hide proper libGL from ATI (community or propr)

    #2
    Missing deps is all


    I seem to have it
    Code:
    attempt to open /usr/x86_64-linux-gnu/lib64/libGL.so failed
    attempt to open /usr/x86_64-linux-gnu/lib64/libGL.a failed
    attempt to open /usr/local/lib/x86_64-linux-gnu/libGL.so failed
    attempt to open /usr/local/lib/x86_64-linux-gnu/libGL.a failed
    attempt to open /usr/local/lib64/libGL.so failed
    attempt to open /usr/local/lib64/libGL.a failed
    attempt to open /lib/x86_64-linux-gnu/libGL.so failed
    attempt to open /lib/x86_64-linux-gnu/libGL.a failed
    attempt to open /lib64/libGL.so failed
    attempt to open /lib64/libGL.a failed
    attempt to open /usr/lib/x86_64-linux-gnu/libGL.so succeeded
    -lGL (/usr/lib/x86_64-linux-gnu/libGL.so)
    Looks to be from here:
    Code:
    $ dpkg -S /usr/lib/x86_64-linux-gnu/libGL.so
    libgl1-mesa-dev:amd64: /usr/lib/x86_64-linux-gnu/libGL.so
    apt-file
    and
    http://packages.ubuntu.com/
    are good resources for finding which package a files is found
    Last edited by claydoh; Jun 11, 2015, 03:52 PM.

    Comment


      #3
      Originally posted by claydoh View Post
      Missing deps is all


      I seem to have it
      Code:
      attempt to open /usr/x86_64-linux-gnu/lib64/libGL.so failed
      attempt to open /usr/x86_64-linux-gnu/lib64/libGL.a failed
      attempt to open /usr/local/lib/x86_64-linux-gnu/libGL.so failed
      attempt to open /usr/local/lib/x86_64-linux-gnu/libGL.a failed
      attempt to open /usr/local/lib64/libGL.so failed
      attempt to open /usr/local/lib64/libGL.a failed
      attempt to open /lib/x86_64-linux-gnu/libGL.so failed
      attempt to open /lib/x86_64-linux-gnu/libGL.a failed
      attempt to open /lib64/libGL.so failed
      attempt to open /lib64/libGL.a failed
      attempt to open /usr/lib/x86_64-linux-gnu/libGL.so succeeded
      -lGL (/usr/lib/x86_64-linux-gnu/libGL.so)
      libexpat.so.1 needed by /usr/lib/x86_64-linux-gnu/libGL.so
      Looks to be from here:
      Code:
      $ dpkg -S /usr/lib/x86_64-linux-gnu/libGL.so
      libgl1-mesa-dev:amd64: /usr/lib/x86_64-linux-gnu/libGL.so

      Then you are lucky at least more than me. I don't have libGL at this location
      - ATI card?
      - upgrade from 14.10?
      - how do i get it there? - i tried all 3 variants for ATI provided at "System Setings -> Driver manger"

      when i tried custom install from ATI web site - it doesn't work out of the box and i don't want to "force" anything.

      Comment


        #4
        You don't get libGl.so from gpu drivers, you get them from Mesa, specifically libgl1-mesa-dev

        (I shudda highlighted that in my last post to make it clearer, sorry!)
        Last edited by claydoh; Jun 11, 2015, 05:17 PM.

        Comment


          #5
          Originally posted by claydoh View Post
          You don't get libGl.so from gpu drivers, you get them from Mesa, specifically libgl-mesa-dev

          (I shudda highlighted that in my last post to make it clearer, sorry!)
          thanks
          libgl1-mesa-dev - is installed
          "several other" mesa-dev also

          and i do have libGL in /usr/lib/x86_64-linux-gnu/mesa, but not in /usr/lib/x86_64-linux-gnu where ld is looking for it and where you have it... somehow

          Comment


            #6
            I dunno. I have it on my daily driver 15.04 Intel laptop, not an upgrade, after installing some -dev packages for compiling something. I just installed it on my upgraded 15.04 box with the same results, a number of extra dependency packages, and libGL.so is found.

            The package libgl1-mesa-dev puts the libGL.so files in these locations
            ****I just noticed that you are gonna need libgl1-mesa-glx***
            Some of these files are actually just symlinks to the true file. I missed that

            dpkg -S libGL.so
            Code:
            [COLOR="#000080"][COLOR="#B22222"][B]libgl1-mesa-dev[/B][/COLOR][/COLOR]:amd64: /usr/lib/x86_64-linux-gnu/mesa/libGL.so
            [COLOR="#000080"][B][U]libgl1-mesa-glx[/U][/B][/COLOR]:amd64: /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
            libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
            libgl1-mesa-dev:amd64: /usr/lib/x86_64-linux-gnu/libGL.so

            Mebbe what I need to do is ask what you are trying to do?

            Comment


              #7
              both actions through Muon:
              - remov libgl1-mesa-dev
              - install libgl1-mesa-dev

              now i have libGL in /usr/lib/x86_64-linux-gnu/
              MS Win way...

              Thanks for help!
              Last edited by ryhor; Jun 12, 2015, 02:29 PM.

              Comment

              Working...
              X