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?
Printable View
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?
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
hmmmm
that gave me the same error. I wish i knew what the other library was.
i beleive the library is media-libs/gle-3.0.1-r2 so tryeven if it is already installed :wink:Code:emerge gle
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.
Do you have opengl and glut in your useflags?
yeah
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 :wink: 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!
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).
i also did it on my ~amd64 with nvidia gfx cards
the only thing that i can suggest at this point is to runthough 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 :wink:Code:revdep-rebuild