Re: Mesa shared library problem under Linux
Rene Brun (Rene.Brun@cern.ch)
Wed, 01 Jul 1998 17:13:40 +0200
Kurt Rinnert wrote:
>
> Hello,
>
> I've got a problem with the OpenGL support under Linux.
>
> I've compiled ROOT 2.00/9 with OPENGL environment variable set to where
> Mesa resides. LD_LIBRARY_PATH is set accordingly. Nevertheless I get the
> following runtime error:
>
> Error in <TCanvas::x3d>: OpenGL shared libraries not loaded.
>
> I've checked with the ldd command -- the system finds the correct
> libraries (libMesa.so and all).
>
> Can anybody help?
Once you are in Root, at the prompt, execute
Root > .x GL.C
This will execute the macro GL.C provided in $ROOTSYS/macros
This macro loads the GL shared libraries.
Rene Brun