NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OpenGL - browser and WebGL support - failed libGL.so



> >     GLXtest process failed (exited with status 1): Unable to load libGL.so.1
>
> This reminds me of e.g., libepoxy hardcoding "libGL.so.1", when
>
> $ ls /usr/X11R7/lib/libGL.*
> /usr/X11R7/lib/libGL.a                  /usr/X11R7/lib/libGL.so.3
> /usr/X11R7/lib/libGL.so                 /usr/X11R7/lib/libGL.so.3.0
>
> (Why hardcode the major number?)

The convention is that the major number reflects the shared lib's API,
while minor numbers are used for bug fixes and internal improvements.

*IF* the GL folks have taken care to keep their API downwards-compatible,
you can safely

	ln -s libGL.so.3 libGL.so.1

							Martin Neitzel


Home | Main Index | Thread Index | Old Index