[pkg-nvidia-devel] Bug#594298: Bug#594298: libgl1-nvidia-alternatives: alternatives are very strange and probably not correct
Russ Allbery
rra at debian.org
Wed Aug 25 07:35:50 UTC 2010
Norbert Preining <preining at logic.at> writes:
> On Mi, 25 Aug 2010, Russ Allbery wrote:
>> Yes, that's exactly as the packages are designed, since applications
>> should be linked against the MESA (free) library, not against the
>> proprietary NVIDIA library. The libGL.so link is only used while
>> linking software, not at runtime.
> Really? I remember faintly when I wrote my intel-nvidia switcher that
> libGL.so was sometimes preferred over libGL.so.1.
> What about a program dlopening libGL.so ? I guess that some of the
> games might do that.
If so, that's a bug; dlopen like any other runtime use of a shared library
needs to open the SONAME that it expects, since otherwise it can get
segfaults or worse if the functions don't take the arguments it expects.
> Are you sure that libGL.so is *never* used at runtime?
Pretty sure, yup. We haven't had any problems with this so far.
--
Russ Allbery (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Pkg-nvidia-devel
mailing list