Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot find -lGL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
joshuanapoli
n00b
n00b


Joined: 28 Jul 2008
Posts: 2

PostPosted: Mon Jul 28, 2008 6:52 pm    Post subject: cannot find -lGL Reply with quote

The file "/usr/lib/libGL.a" has mysteriously disappeared from my system, and so a build of a program that requires OpenGL gives an error: "cannot find -lGL". Neither "emerge nvidia-drivers" nor "emerge mesa" recreate the file. Also switching between "eselect opengl set nvidia" and "eselect opengl set xorg-x11" does not help. Any hints? My build (part of an automated test for my company) used to work fine. I guess that I emerged something that broke OpenGL.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Jul 28, 2008 8:52 pm    Post subject: Reply with quote

I don't have that file either, but I do have the following:
Code:
/home/daffy $ l /usr/lib/libGL*
-rw-r--r-- 1 root root    709 2008-07-22 11:48 /usr/lib/libGL.la
lrwxrwxrwx 1 root root     37 2008-07-22 11:48 /usr/lib/libGL.so -> //usr//lib/opengl/nvidia/lib/libGL.so*
-rw-r--r-- 1 root root    752 2008-04-28 19:45 /usr/lib/libGLU.la
lrwxrwxrwx 1 root root     11 2008-04-28 19:45 /usr/lib/libGLU.so -> libGLU.so.1*
lrwxrwxrwx 1 root root     20 2008-04-28 19:45 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060502*
lrwxrwxrwx 1 root root     20 2008-04-28 19:45 /usr/lib/libGLU.so.1.3 -> libGLU.so.1.3.060502*
-rwxr-xr-x 1 root root 525908 2008-04-28 19:45 /usr/lib/libGLU.so.1.3.060502*
lrwxrwxrwx 1 root root     41 2008-07-22 11:48 /usr/lib/libGLcore.so -> //usr//lib/opengl/nvidia/lib/libGLcore.so*
lrwxrwxrwx 1 root root     11 2008-04-28 19:45 /usr/lib/libGLw.so -> libGLw.so.1*
lrwxrwxrwx 1 root root     15 2008-04-28 19:45 /usr/lib/libGLw.so.1 -> libGLw.so.1.0.0*
lrwxrwxrwx 1 root root     15 2008-04-28 19:45 /usr/lib/libGLw.so.1.0 -> libGLw.so.1.0.0*
-rwxr-xr-x 1 root root  10572 2008-04-28 19:45 /usr/lib/libGLw.so.1.0.0*
/home/daffy $ file /usr/lib/libGL.la
/usr/lib/libGL.la: libtool library file

I hope that helps with tracking down your issue.
Back to top
View user's profile Send private message
joshuanapoli
n00b
n00b


Joined: 28 Jul 2008
Posts: 2

PostPosted: Mon Jul 28, 2008 9:23 pm    Post subject: Reply with quote

Still no luck. I have a similar list of files from "ls -l /usr/lib/libGL*", except without the extra slashes in the libGL.so symlink. All of the symlinks are good.
Code:
-rw-r--r-- 1 root root    715 Jul 28 14:43 /usr/lib/libGL.la
lrwxrwxrwx 1 root root     37 Jul 28 14:43 /usr/lib/libGL.so -> /usr/lib64/opengl/nvidia/lib/libGL.so
-rw-r--r-- 1 root root    752 Jul 28 13:51 /usr/lib/libGLU.la
lrwxrwxrwx 1 root root     11 Jul 28 13:51 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root     20 Jul 28 13:51 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060502
lrwxrwxrwx 1 root root     20 Jul 28 13:51 /usr/lib/libGLU.so.1.3 -> libGLU.so.1.3.060502
-rwxr-xr-x 1 root root 521440 Jul 28 13:51 /usr/lib/libGLU.so.1.3.060502
lrwxrwxrwx 1 root root     41 Jul 28 14:43 /usr/lib/libGLcore.so -> /usr/lib64/opengl/nvidia/lib/libGLcore.so
lrwxrwxrwx 1 root root     11 Jul 28 13:51 /usr/lib/libGLw.so -> libGLw.so.1
lrwxrwxrwx 1 root root     15 Jul 28 13:51 /usr/lib/libGLw.so.1 -> libGLw.so.1.0.0
lrwxrwxrwx 1 root root     15 Jul 28 13:51 /usr/lib/libGLw.so.1.0 -> libGLw.so.1.0.0
-rwxr-xr-x 1 root root  16616 Jul 28 13:51 /usr/lib/libGLw.so.1.0.0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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