[pkg-nvidia-devel] Bug#594298: Bug#594298: Bug#594298: libgl1-nvidia-alternatives: alternatives are very strange and probably not correct

Norbert Preining preining at logic.at
Wed Aug 25 07:58:28 UTC 2010


On Mi, 25 Aug 2010, Andreas Beckmann wrote:
> > What about a program dlopening libGL.so ? I guess that some of the
> > games might do that.
> Then they need a dependency on libgl1-mesa-dev | libgl1-dev |
> libgl1-dev. Eventually somebody would notice that this is BAD. Even

I'm not speaking about Debian programs, but third party, like games
from LOKI, or LGP, or some others.

A quick strings | grep libGL over Descent3 from loki showed me:
/usr/local/games/Descent3] strings * | grep libGL
/usr/lib/libGL.so
Specify path to libGL.so:
libGL.so
libGL.so.1
libGL.so.1
libGL.so
libGL.so.1
      working. Use the same libGL.so that you'd use for Quake 3. Glide also
     library. The default is libGL.so (or libGlide2x.so) from your library
  - If the default libGL or user-specified libGL fails to load, 1.4.0a will
    try libGL.so.1 as a last resort...

which might indicate that they are actually opening libGL.so, and only if
that is not there libGL.so.1.

Didn't check the others I have installed.

> > Are you sure that libGL.so is *never* used at runtime?
> No. But that's just another way to shoot yourself in the foot.

Yump, but it is reality.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
You step in the stream,
But the water has moved on.
This page is not here.
                       --- Windows Error Haiku





More information about the Pkg-nvidia-devel mailing list