[OpenIndiana-discuss] glxgears
Udo Grabowski (IMK)
udo.grabowski at kit.edu
Tue Mar 7 06:39:59 UTC 2017
On 07/03/2017 07:19, Alexander Pyhalov wrote:
> On 06.03.2017 23:34, Apostolos Syropoulos wrote:
>> $ ldd /usr/bin/glxgears
>> libGL.so.1 => /usr/lib/libGL.so.1
> ...
>> $ env LD_LIBRARY_PATH=/usr/X11/lib/NVIDIA/amd64:/usr/X11/lib/NVIDIA
>> ldd /usr/bin/glxgears
>> libGL.so.1 => /usr/X11/lib/NVIDIA/libGL.so.1
>...
> Hi.
> This really looks strange.
> /usr/lib/libGL.so.1 seems to point to mesa library. Can you find out why
> it happens?
> What does /usr/bin/constype say?
> Is options/vendor property of ogl-select service set?
>
On OI 151a9, /usr/lib/libGL.so.1 points into GL/, which
used to have backlinks into /var/run/opengl/lib/, where
the real GL libs are setup by the ogl-select service:
# ll /usr/lib/GL
total 11
lrwxrwxrwx 1 root root 5 2012-06-09 01:12 64 -> amd64/
drwxr-xr-x 2 root bin 8 2011-10-06 11:26 amd64/
lrwxrwxrwx 1 root root 10 2012-06-09 01:12 libGL.so -> libGL.so.1*
lrwxrwxrwx 1 root root 38 2012-06-09 01:12 libGL.so.1 ->
../../../var/run/opengl/lib/libGL.so.1*
lrwxrwxrwx 1 root root 11 2012-06-09 01:12 libGLU.so -> libGLU.so.1*
lrwxrwxrwx 1 root root 19 2012-06-09 01:12 libGLU.so.1 ->
../mesa/libGLU.so.1*
lrwxrwxrwx 1 root root 11 2012-06-09 01:12 libGLw.so -> libGLw.so.1*
lrwxrwxrwx 1 root root 19 2012-06-09 01:12 libGLw.so.1 ->
../mesa/libGLw.so.1*
# ll /var/run/opengl/lib/
total 24
lrwxrwxrwx 1 root root 5 2017-03-07 07:21 64 -> amd64/
drwxr-xr-x 2 root root 184 2017-03-07 07:21 amd64/
lrwxrwxrwx 1 root root 30 2017-03-07 07:21 libGL.so.1 ->
/usr/X11/lib/NVIDIA/libGL.so.1*
More information about the openindiana-discuss
mailing list