Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153682 - libGL.so.1: cannot handle TLS data
Summary: libGL.so.1: cannot handle TLS data
Status: RESOLVED DUPLICATE of bug 136115
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 07:07 UTC by Eric Brown
Modified: 2006-11-02 02:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Brown 2006-11-01 07:07:05 UTC
After a world update, libGL.so.1 doesn't exist, so many apps will no longer launch.  I tried running opengl-update and using eselect opengl set xorg-x11, but they don't fix the problem.

I don't use openGL really, but some apps still depend on it (mplayer in this case).  re-emerging mplayer doesn't help.

I know I can just create the symlink, but this is a portage bug.
Comment 1 Eric Brown 2006-11-01 07:28:50 UTC
Just looked in /usr/lib/opengl/xorg-x11/lib, and libGL.so.1 is there and apparently correctly linked...  Why can't mplayer find libGL.so.1?
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-11-01 12:38:32 UTC
What's the output of `ls -l /usr/lib/libGL.so`?
Comment 3 Eric Brown 2006-11-01 23:17:01 UTC
lrwxrwxrwx 1 root root 39 2006-11-01 23:26 /usr/lib/libGL.so -> //usr//lib/opengl/xorg-x11/lib/libGL.so
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 00:33:47 UTC
opengl-update??? It's been deprecated for, like ages.

$ readlink /usr/lib/libGL.so
//usr//lib/opengl/nvidia/lib/libGL.so

$ ls -l /usr/lib/opengl/nvidia/lib/libGL*
lrwxrwxrwx 1 root root      21 2006-10-28 10:32 /usr/lib/opengl/nvidia/lib/libGLcore.so -> libGLcore.so.1.0.9626
lrwxrwxrwx 1 root root      21 2006-10-28 10:32 /usr/lib/opengl/nvidia/lib/libGLcore.so.1 -> libGLcore.so.1.0.9626
-rwxr-xr-x 1 root root 8957048 2006-10-28 10:32 /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.9626
-rw-r--r-- 1 root root     709 2006-10-28 10:32 /usr/lib/opengl/nvidia/lib/libGL.la
lrwxrwxrwx 1 root root      17 2006-10-28 10:32 /usr/lib/opengl/nvidia/lib/libGL.so -> libGL.so.1.0.9626
lrwxrwxrwx 1 root root      17 2006-10-28 10:32 /usr/lib/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.9626
-rwxr-xr-x 1 root root  567308 2006-10-28 10:32 /usr/lib/opengl/nvidia/lib/libGL.so.1.0.9626

$ ls -l /usr/lib/opengl/xorg-x11/lib/libGL.so*
lrwxrwxrwx 1 root root     12 2006-09-18 12:56 /usr/lib/opengl/xorg-x11/lib/libGL.so -> libGL.so.1.2
lrwxrwxrwx 1 root root     12 2006-09-18 12:56 /usr/lib/opengl/xorg-x11/lib/libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 346936 2006-09-18 12:56 /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2

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

Works just fine here, check that you have proper LDPATH set above.
Comment 5 Eric Brown 2006-11-02 02:11:41 UTC
I don't know why I didn't paste this before, but I think the apps can find the so, but they can't use it:

mplayer: error while loading shared libraries: libGL.so.1: cannot handle TLS data
/usr/bin/Terminal: error while loading shared libraries: libGL.so.1: cannot handle TLS data

Also, all of my GTK apps look very different after the update.. possibly related to this I suppose.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 02:19:02 UTC

*** This bug has been marked as a duplicate of 136115 ***