GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Error: dlopen error when running the root macro to execute MC
icon8.gif  Error: dlopen error when running the root macro to execute MC [message #8422] Wed, 06 May 2009 08:42 Go to previous message
Huagen Xu is currently offline  Huagen Xu
Messages: 9
Registered: May 2009
Location: Juelich
occasional visitor
From: *ikp.kfa-juelich.de
Dear everybody,

I came across the problem when I tried to run the simulation for detector LMD. The error message was listed below:
****************************************************************
root [0]
Processing gconfig/rootlogon.C...
- RTDB container factory FairBaseContFact
- RTDB container factory PndFieldContFact
- RTDB container factory PndPassiveContFact

PSaid instance created... access via gSaid->f()

- RTDB container factory PndRpcContFact
dlopen error: /home/huagen/fairroot/cbuild/lib/libLmd.so: undefined symbol: _ZTI9PndLmdGeo
Load Error: Failed to load Dynamic link library /home/huagen/fairroot/cbuild/lib/libLmd.so
(int)(-1)
*** Interpreter error recovered ***
root [1]
*****************************************************************
Several things could be confirmed:
1. The class PndLmdGeo was definitely defined.
2. The class PndLmdGeo was invoked in the class PndLmd, the header file was included in the PndLmd.h file
3. The libLmd.so was created in the Cbuild/lib after compilation.

Would you give some hints for this troubleshooting? Attached is the code for your information.

Best Regards!
Huagen Xu
IKP, Forschungszentrum Juelich
  • Attachment: PndLmd.cxx
    (Size: 4.89KB, Downloaded 217 times)
  • Attachment: PndLmdGeo.cxx
    (Size: 0.66KB, Downloaded 236 times)
  • Attachment: PndLmd.h
    (Size: 3.60KB, Downloaded 221 times)
  • Attachment: PndLmdGeo.h
    (Size: 0.83KB, Downloaded 241 times)
 
Read Message icon8.gif
Read Message
Read Message
Previous Topic: config.sh bug
Next Topic: Accessing for splitted simulation file
Goto Forum:
  


Current Time: Sun Feb 25 23:07:29 CET 2024

Total time taken to generate the page: 0.01284 seconds