Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 10-21-03, 11:47 PM   #1
Registered User
Join Date: Oct 2003
Posts: 3
Default __gl_tls_var0 unresolved

I'm attempting to build a network bootable machine on nforce2. The target system is a minimal system, consequently I cant run the nvidia installer for installing the nvidia graphics drivers. So, I've done most of the work by hand, and have been successful up until this point. When the Xserver load the nvidia glx module, it spews the following error

(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: /usr/lib/tls/libGLcore.so.1: undefined symbol: __gl_tls_var0
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so

Most of the binaries are stripped so I have no idea where this variable is supposed to come from. Any help would be much appreciated.

donburns is offline   Reply With Quote
Old 10-22-03, 08:26 AM   #2
Registered User
Join Date: Dec 2002
Posts: 2

Maybe it's something related to thread local storage.
If so, you could try to run the following:


If it says "Thread-local storage support included." in the output, than you have to take care to install the proper libglx.so (the one with TLS support) in your extensions directory.
This is taken care of automatically by the 1.0-4496 installer, but since you are installing by hand, you have to use another pc, issuing the following command:

./NVIDIA-Linux-x86-1.0-4496-pkg0.run --extract-only
cd NVIDIA-Linux-x86-1.0-4496-pkg0/usr/X11R6/lib/modules/extensions/tls

In this directory you'll find the correct libglx.so

I hope that this helps you.
paperone is offline   Reply With Quote
Old 10-22-03, 12:29 PM   #3
Registered User
Join Date: Oct 2003
Posts: 3

Thanks for the help, but the problem seems to be a bit further down the path. The target system is supporting thread local storage (as reported by /lib/libc.so.6), and I have tls versions of the libglx.so extension and libGLcore.so.

I've noted that running /lib/tls/libc.so.6 reports
"cannot set up thread-local storage: kernel too old for thread-local storage support"

So, it looks like the kernel needs to have tls built in.... will investigate.

As an alternative, however, I don't seem to have a choice :
$ pwd
... NVIDIA-Linux-x86-1.0-4496-pkg2/usr/X11R6/lib/modules/extensions
$ ldd libglx.so.1.0.4496 tls/libglx.so.1.0.4496
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x400be000)
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x400bf000)

Both seem to be referencing the tls version of libGLcore.so Or am I misunderstanding ldd's output?

It would be helpful to know where __gl_tls_var0 is expected to come from.
donburns is offline   Reply With Quote
Old 10-22-03, 07:42 PM   #4
Registered User
Join Date: Oct 2003
Posts: 3

Solved, my bad... Turns out I was NOT using the correct libglx.so. So, I was attempting to load a tls version of libGLcore.so with a non-tls libglx.so. I was confused by the fact that running ldd on libglx.so (either one of them) indicated that it was linked to /usr/lib/tls/libGLcore.so. A simple size comparison of the libglx's to the installed libglx solved it.

Thanks for the help!
donburns is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 7.3 + Geforce 2MX -> unresolved symbol even if recompilation with SYSINCLUDE cool_nm NVIDIA Linux 8 10-13-02 04:57 PM
Redhat 8 + Nvidia 3123 + tarball src rpms = wtf?? caustic NVIDIA Linux 8 10-09-02 08:56 PM
RH7.3 + nForce 420-D + startx = FROZEN ctaggart NVIDIA Linux 7 10-04-02 01:48 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM
Linux 2.4.19 unresolved symbols... wallsaroundme NVIDIA Linux 3 08-10-02 08:24 PM

All times are GMT -5. The time now is 01:10 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.