Find the answer to your Linux question:
Results 1 to 10 of 10
When attemping to emerge xscreensaver I encounter an error: checking for glGetError in -lGL... no configure: error: Cannot find required GL library any idea what to do?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    7

    emerging xscreensaver


    When attemping to emerge xscreensaver I encounter an error:

    checking for glGetError in -lGL... no
    configure: error: Cannot find required GL library


    any idea what to do?

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    I actually had the same error... try doing emerge -D xscreensaver. there is some glx library you need to install... though I don't know the name of it off hand

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    7
    hmmmm

    that gave me the same error. I wish i knew what the other library was.

  4. #4
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    i beleive the library is media-libs/gle-3.0.1-r2 so try
    Code:
    emerge gle
    even if it is already installed
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    7
    well, it seems that GLE is where the error is occuring. Perhaps I'm missing something for GLE, but I tried to emerge -D gle and keep getting the error:

    checking for glGetError in -lGL... no
    configure: error: Cannot find required GL library

    and then it dies.

  6. #6
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Do you have opengl and glut in your useflags?

  7. #7
    Just Joined!
    Join Date
    Apr 2005
    Posts
    7
    yeah

  8. #8
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    ok it compiled here
    the ' GL' (libGL.so) is part of 'xorg-x11 (Mesa), or nvidia-glx, or ati-drivers ' so either emerging one of the above or re-emerging one of the above should solve this glitch or you didnt 'opengl-update' to switch to the the proper libGL.so befor you compiled this pkg just type 'opengl-update ' and it will show the help/directions for this command

    also i assume that you have 'X' installed.....if not install that first!
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  9. #9
    Just Joined!
    Join Date
    Apr 2005
    Posts
    7
    Well, I re-emerged the nvidia-glx package and did the 'opengl-update nvidia' command, then attampted to ermege xscreensaver and it didn't work, same error :-/

    I've got X installed, I'm running gnome quite fine actually, my only problem seems to be this. I'm using the 64bit archetecture if that has anything to do with anything (I had a problem with an earlier emerge because the 64bit gtk didn't have some of the 32bit libraries, I had to emerge another package for those, even though the other package wasn't considered a dependency).

  10. #10
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    i also did it on my ~amd64 with nvidia gfx cards

    the only thing that i can suggest at this point is to run
    Code:
    revdep-rebuild
    though i dont know if it will help this command is usualy run after you emerge -C or emerge unmerge something to rebuild any broken dep's/links and you run it again and again till it comes up clean and it is also some thing that should be run now and again b4 pulling your hair out & banging your head on the keyboard
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •