# LIB errors when running garfield++

**URL:** <https://root-forum.cern.ch/t/lib-errors-when-running-garfield/16364>\
**Category:** Garfield++\
**Created:** [July 12, 2013, 8:30am UTC](https://root-forum.cern.ch/t/lib-errors-when-running-garfield/16364 "2013-07-12T08:30:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ltfish](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/ee59a6/32.png) [@ltfish](https://root-forum.cern.ch/u/ltfish)\
**Post date:** [July 12, 2013, 8:30am UTC](https://root-forum.cern.ch/t/lib-errors-when-running-garfield/16364/1 "2013-07-12T08:30:37Z")

</div>

Hello!

I installed Garfield++, but something goes wrong when running the mmlowenergypion([http://garfieldpp.web.cern.ch/garfieldpp/examples/mmlowenergypion/](http://garfieldpp.web.cern.ch/garfieldpp/examples/mmlowenergypion/)) example.  
It seems it is the lib issue. Here is the error log

## [code]ltfish@linux-jvct:~/garfield/work/mmlowenergypion\> ./main\_example RandomEngineRoot: Generator type: TRandom3 Seed: 2383226218 MediumMagboltz::LoadGasFile: Version: 12 MediumMagboltz::LoadGasFile: Gas composition set to Ar/iC4H10 (90/10) SolidBox: -3 \< x [cm] \< 3 0 \< y [cm] \< 0.31 -3 \< z [cm] \< 3 ComponentAnalyticField::AddReadout: Readout group Strip1 comprises: 1 strip ComponentAnalyticField::AddReadout: Readout group Strip2 comprises: 1 strip ComponentAnalyticField::AddReadout: Readout group Strip3 comprises: 1 strip Sensor::AddElectrode: Added readout electrode “Strip1”. All signals are reset. Sensor::AddElectrode: Added readout electrode “Strip2”. All signals are reset. Sensor::AddElectrode: Added readout electrode “Strip3”. All signals are reset. Sensor::SetTimeWindow: Resetting all signals. Error in TUnixSystem::DynamicPathName: RGL[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /usr/share/CLHEP/lib:/usr/share/GEANT4/geant4.9.4.p04/lib/Linux-g++:/usr/share/CLHEP//lib:/home/ltfish/tool/ROOT/root/lib:.:/home/ltfish/tool/ROOT/root/lib::/home/ltfish/tool/ROOT/root/cint/cint/stl AvalancheMicroscopic::EnablePlotting: Enabling storage of drift line. Sensor::SetArea: -3 \< x [cm] \< 3 0 \< y [cm] \< 0.31 -3 \< z [cm] \< 3

## XMean: 0.17 cm, XTrue: 0.15 cm XTrue - XMean: 200 um

Error in TStreamerInfo::Build: TPolyMarker3D, discarding: Float\_t\* fP, illegal [3\*fN] Array of X,Y,Z coordinates

Error in TUnixSystem::DynamicPathName: RGL[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /usr/share/CLHEP/lib:/usr/share/GEANT4/geant4.9.4.p04/lib/Linux-g++:/usr/share/CLHEP//lib:/home/ltfish/tool/ROOT/root/lib:.:/home/ltfish/tool/ROOT/root/lib::/home/ltfish/tool/ROOT/root/cint/cint/stl  
Error in TUnixSystem::DynamicPathName: RGL[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /usr/share/CLHEP/lib:/usr/share/GEANT4/geant4.9.4.p04/lib/Linux-g++:/usr/share/CLHEP//lib:/home/ltfish/tool/ROOT/root/lib:.:/home/ltfish/tool/ROOT/root/lib::/home/ltfish/tool/ROOT/root/cint/cint/stl  
Error in TUnixSystem::DynamicPathName: RGL[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /usr/share/CLHEP/lib:/usr/share/GEANT4/geant4.9.4.p04/lib/Linux-g++:/usr/share/CLHEP//lib:/home/ltfish/tool/ROOT/root/lib:.:/home/ltfish/tool/ROOT/root/lib::/home/ltfish/tool/ROOT/root/cint/cint/stl  
Error in TUnixSystem::DynamicPathName: RGL[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /usr/share/CLHEP/lib:/usr/share/GEANT4/geant4.9.4.p04/lib/Linux-g++:/usr/share/CLHEP//lib:/home/ltfish/tool/ROOT/root/lib:.:/home/ltfish/tool/ROOT/root/lib::/home/ltfish/tool/ROOT/root/cint/cint/stl  
Error in TUnixSystem::DynamicPathName: RGL[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /usr/share/CLHEP/lib:/usr/share/GEANT4/geant4.9.4.p04/lib/Linux-g++:/usr/share/CLHEP//lib:/home/ltfish/tool/ROOT/root/lib:.:/home/ltfish/tool/ROOT/root/lib::/home/ltfish/tool/ROOT/root/cint/cint/stl[/code]

PS. It is the first I post my question on the forum. If there is something that I didn’t make it clear, please ask at any time. Thank you!

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [July 26, 2013, 3:05pm UTC](https://root-forum.cern.ch/t/lib-errors-when-running-garfield/16364/2 "2013-07-26T15:05:12Z")

</div>

Hi,

Does /home/ltfish/tool/ROOT/root/lib contains a file named [libRGL.so](http://libRGL.so) ? Does it contains any of the ROOT libraries? If it does but does not contains [libRGL.so](http://libRGL.so) then the ROOT build you are using did not create the necessary library, possibly because some of the required dependency for GL support where not installed or not detected by the configure script. Check the result of the configure script to see what might have been missing.

Philippe.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [June 21, 2018, 2:41pm UTC](https://root-forum.cern.ch/t/lib-errors-when-running-garfield/16364/3 "2018-06-21T14:41:05Z")

</div>

Closed on June 21, 2018, 2:41pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
