libRGL.so help

Hi,
I have a problem loading libRGL.so on my application on MAC OSX :

<Dario.Moricciani@Dario-Moriccianis-MacBook:~/Desktop> root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.28/00c 15 April 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.28/00c (tags/v5-28-00c@38884, May 04 2011, 21:10:56 on macosx64)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x centraldetectors9.c
Info in TGeoManager::TGeoManager: Geometry Assemblies, Geometry using assemblies created
Info in TGeoManager::SetTopVolume: Top volume is PIPPO. Master volume is PIPPO
Info in TGeoManager::CheckGeometry: Fixing runtime shapes…
Info in TGeoManager::CheckGeometry: …Nothing to fix
Info in TGeoManager::CloseGeometry: Counting nodes…
Info in TGeoManager::Voxelize: Voxelizing…
Info in TGeoManager::CloseGeometry: Building cache…
Info in TGeoNavigator::BuildCache: — Maximum geometry depth set to 100
Info in TGeoManager::CloseGeometry: 2402 nodes/ 3433 volume UID’s in Geometry using assemblies
Info in TGeoManager::CloseGeometry: ----------------modeler ready----------------
Info in TCanvas::MakeDefCanvas: created default TCanvas with name c1
dlopen error: dlopen(/cern/root/lib/libRGL.so, 9): Symbol not found: ___GLEW_EXT_framebuffer_multisample
Referenced from: /cern/root/lib/libRGL.so
Expected in: flat namespace
in /cern/root/lib/libRGL.so
Load Error: Failed to load Dynamic link library /cern/root/lib/libRGL.so
Error in TCint::AutoLoad: failure loading library libRGL.so for class TGLSAViewer
Error in TPluginHandler::SetupCallEnv: class TGLSAViewer not found in plugin RGL
Warning in TCanvas::TPad::CreateViewer3D: Cannot create 3D viewer of type: ogl
root [1] .q

Any one could help me ?

Hi,

You probably did not install the glew library or do not have a recent enough version.

Please note that this forum is for announcement of (working) user application that you would like to share with the rest of the community.

Philippe.

No I have the lastest version of glew (1.6) installed by macports …
The strange thins is that the error occur only on the installation of root by source where

./configure options are :
<Dario.Moricciani@Dario-Moriccianis-MacBook:~/Desktop> root-config --config
macosx64 --enable-builtin-pcre --enable-cintex --enable-explicitlink --enable-genvector --enable-krb5 --enable-mathmore --enable-mysql --enable-python --enable-qt --enable-reflex --enable-table --enable-builtin-freetype --enable-ruby --enable-minuit2 --enable-roofit --enable-unuran --enable-qtgsi --enable-gdml --enable-soversion --with-f77=/opt/local/bin/gfortran-mp-4.5 --with-fftw3-incdir=/opt/include/include --with-fftw3-libdir=/opt/local/lib --with-pythia6-libdir=/Users/dario/software/pythia6 --with-pythia8-libdir=/Users/dario/software/pythia8140/lib --with-pythia8-incdir=/Users/dario/software/pythia8140/include --with-gsl-incdir=/opt/local/include --with-gsl-libdir=/opt/local/lib --with-qt-incdir=/opt/local/include --with-qt-libdir=/opt/local/lib --with-gviz-incdir=/opt/local/include --with-gviz-libdir=/opt/local/include --with-glew-incdir=/opt/local/include --with-glew-libdir=/opt/local/include

While the binary installation work fine. That means there is some problem on the build procedure.

I am sorry but where I have to post my question ?

Best Regars

Post for example in the: ROOT support forum