Bug#606175: libgl1-nvidia-alternatives: nvidia alternatives links keep breaking

Phil Dibowitz phil at ipom.com
Tue Dec 7 05:43:31 UTC 2010


On 12/06/2010 08:36 PM, Russ Allbery wrote:
> Phil Dibowitz <phil at ipom.com> writes:
> 
>> Package: libgl1-nvidia-alternatives
>> Version: 195.36.31-6
>> Severity: important
> 
>> Everytime 'apt-get upgrade' gets run most of my X programs stop being
>> able to launch becaue they can't find symbols in libGL. It turns out
>> this is because /usr/lib/libGL.so.1 is a link to libGL.so.1.0.5336
>> instead of /etc/alternatives/libGL.so.1.
> 
> The problem is caused by that file existing at all, and the reason why
> this changes after every apt-get upgrade is because ldconfig runs after
> shared library changes.  ldconfig is replacing that symlink because it
> sees a shared library with the right SONAME in the same directory.

Oh, *that*s what's doing it. Makes sense, thanks for the explanation.

> Just deleting /usr/lib/libGL.so.1.0.5336 will solve this problem.  Based
> on the file name, this is probably a file left over from a long-ago manual
> installation of the NVIDIA drivers using the upstream installer.

I removed it and re-ran ldconfig and all is working well.

Thanks for the quick and detailed response!

-- 
Phil Dibowitz                             phil at ipom.com
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't matter
 and those who matter don't mind."
 - Dr. Seuss


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20101206/b1e49322/attachment-0002.pgp>


More information about the pkg-nvidia-devel mailing list