[GRASS-user] configure no longer finds opengl

Seb spluque at gmail.com
Sun Oct 7 20:57:03 EDT 2007


On Mon, 8 Oct 2007 00:42:46 +0100,
Glynn Clements <glynn at gclements.plus.com> wrote:

[...]

> I was assuming that it was going to be more involved than that; failure
> to detect a library is often due to missing dependencies (rather than
> the library itself).

> Somewhere on your system should be a library named e.g. libGL.so.1.2.
> There should also be a symlink to this file, named libGL.so.

> Going back to your original message:

>> I can see /usr/lib/libGL.so.1, although there's also
>> /usr/lib64/libGL.so.1, and they're both a symlink to
>> /usr/lib/libGL.so.100.14.19. Any help would be appreciated.

> you don't mention the libGL.so symlink, so I would guess that it's
> missing. This symlink is needed for compilation, but not at run time.

> The unversioned .so symlinks are normally included in the development
> package (e.g. "opengl-devel") along with the headers. If you already
> have the headers, the missing symlink may to be due to a botched package
> management operation.

> [A Google search on libGL.so.100.14.19 suggests that this is nVidia's
> proprietary OpenGL library. nVidia's OpenGL packaging leaves a lot to be
> desired.]

> In any case, it should suffice to just add the symlink, manually e.g.:

> 	ln -s libGL.so.1 /usr/lib64/libGL.so

Thanks Glynn, this is very helpful and I can now investigate this further.
Debian unstable recently upgraded to a new Xorg version, and NVIDIA's
drivers followed suit, but the latter must have broken/removed the
libGL.so symlink (yes, it's missing here).  The error creeped in after
updating these Xorg/NVIDIA packages.

Thanks again for your help,

-- 
Seb




More information about the grass-user mailing list