Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libGLcore and libGL not found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fasa
n00b
n00b


Joined: 25 Feb 2003
Posts: 6
Location: France (paris)

PostPosted: Fri Jan 13, 2006 7:57 am    Post subject: libGLcore and libGL not found Reply with quote

Hi folks !

I am having some problem when i try to start glear I get tthe following error :
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

I have also the following error in xorg at startup :
(II) LoadModule: "glx"
(II) Loading /usr/lib64/modules/extensions/libglx.so
dlopen: libGLcore.so.1: cannot open shared object file: No such file or directory

I am using nvidia drivers :
media-video/nvidia-glx-1.0.8178
media-video/nvidia-kernel-1.0.8178-r1

Also I have configure eselect to use nvidia :
drizzt ~ # eselect opengl show
nvidia

LibGLcore seems to be here an orrectly linked :
lrwxrwxrwx 1 root root 17 jan 11 23:10 libGL.so -> libGL.so.1.0.8178
lrwxrwxrwx 1 root root 17 jan 11 23:10 libGL.so.1 -> libGL.so.1.0.8178
lrwxrwxrwx 1 root root 21 jan 11 23:10 libGLcore.so -> libGLcore.so.1.0.8178
lrwxrwxrwx 1 root root 21 jan 11 23:10 libGLcore.so.1 -> libGLcore.so.1.0.8178


Can anyone help me on this one ?
_________________
Darth Vader:
The force is with you young Skywalker, but you are not a Jedi yet.
Back to top
View user's profile Send private message
rlittle
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 200

PostPosted: Thu Jan 19, 2006 7:10 am    Post subject: Reply with quote

If eselect is working right the following should look like this:

$ cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="//usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"
$

I had some path problems and upgrading eselect fixed it.....

Hope this helps.
_________________
I need a better signature...
Back to top
View user's profile Send private message
fasa
n00b
n00b


Joined: 25 Feb 2003
Posts: 6
Location: France (paris)

PostPosted: Mon Jan 30, 2006 12:14 pm    Post subject: Reply with quote

rlittle wrote:
If eselect is working right the following should look like this:

$ cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="//usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"
$

I had some path problems and upgrading eselect fixed it.....

Hope this helps.


Thank you for your reply. i came up with the same solution after a long serach. :)
_________________
Darth Vader:
The force is with you young Skywalker, but you are not a Jedi yet.
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Sun Feb 05, 2006 2:34 am    Post subject: Reply with quote

I had the same issues as fasa had after an emerge -pvuD world yesterday. I am on an amd64 system and try my best to run a stable setup.

Before down-grading eselect
Code:
cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="/usr/lib/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"


To fix it I had to actually down-grade eselect and eselect-opengl to fix the problem.
After down-grading
Code:
cat /etc/env.d/03opengl
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="//usr/lib/opengl/nvidia/lib://usr/lib32/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"


For some reason nvidia-glx is far slower than xorg-xll-glx in glxgears. Anyone know why that may be???
Back to top
View user's profile Send private message
fasa
n00b
n00b


Joined: 25 Feb 2003
Posts: 6
Location: France (paris)

PostPosted: Sun Feb 05, 2006 6:08 pm    Post subject: Reply with quote

Maybe you haven't enable direct rendering in xorg ?

try glxinfo | grep "direct" you should have :
- direct rendering: Yes

If not had the following line in your Device section :
Option "RenderAccel" "true"
_________________
Darth Vader:
The force is with you young Skywalker, but you are not a Jedi yet.
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Tue Feb 07, 2006 6:50 pm    Post subject: Reply with quote

fasa wrote:
Maybe you haven't enable direct rendering in xorg ?

try glxinfo | grep "direct" you should have :
- direct rendering: Yes

If not had the following line in your Device section :
Option "RenderAccel" "true"


Thanks for tips. I checked them and all is as it should be. glxgears is giving me about 15,000 fps with nvidia-glx, which I am running now. If I recall xorg-x11-glx was giving me around 21,000 fps. Later this week I will check xorg to verify as it could be related to other issues. After downgrading eselect, all seems stable and working right now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum