Gentoo Archives: gentoo-user

From: Davyd McColl <davydm@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] libGL symlinks vs `eselect opengl`
Date: Wed, 22 Aug 2018 18:33:21
1 The other day I installed Celestia for the entertainment of my son, who is
2 delighted with anything stellar / planetary. Celestia wouldn't start up,
3 and, long-story-short, I tracked down the issue to the symlinks:
5 /usr/lib64/
6 /usr/lib64/
8 which ultimately point to
10 /usr/lib64/,
12 provided by media-libs/mesa. Naturally, I assumed I'd made a mistake with
13 `eselect` at some point, so I checked with `eselect opengl list` and found
14 that, as expected, my selected opengl implementation was nvidia. Just in
15 case, I switched over to xorg-x11 (mesa) and back again, but this didn't
16 fix the problem.
18 Manually redirecting these to /usr/lib64/opengl/nvidia/lib/
19 (provided by x11-drivers/nvidia-drivers) works, however, of course, portage
20 doesn't know anything about this, so the update I received today for
21 media-libs/mesa reverted these symlinks back to pointing at mesa libs.
23 So the questions I have are these:
24 1) Am I reasonable in expecting `eselect opengl` to maintain these
25 symlinks? I feel like it's a reasonable expectation, but perhaps there's
26 just yet another thing I have to learn / understand.
27 2) Should I be logging a bug (against eselect, or perhaps celestia, since
28 this is the only app which seems to have suffered this fate -- games like
29 Torchlight 2 and utils like glxgears work just fine; glxinfo reports NVIDIA
30 extensions), or is there just something I've fundamentally missed or messed
31 up here?
33 Thanks
34 -d
36 --
37 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
38 If you say that getting the money is the most important thing
39 You will spend your life completely wasting your time
40 You will be doing things you don't like doing
41 In order to go on living
42 That is, to go on doing things you don't like doing
44 Which is stupid.
46 - Alan Watts
49 *Quidquid latine dictum sit, altum sonatur. *


Subject Author
Re: [gentoo-user] libGL symlinks vs `eselect opengl` Andrew Savchenko <bircoph@g.o>