Error loading libPGen.so [message #6582] |
Wed, 23 April 2008 11:43 |
M.Babai
Messages: 46 Registered: January 2008 Location: Netherlands
|
continuous participant |
From: *KVI.nl
|
|
Hi all
I'm trying to run fastsimulation macros in pandaroot. Using the latest version of rootlogon.C available from svn, starting root produces the following error:
dlopen error: /opt/fairroot/fairsoft/buildPanda/lib/libPGen.so: undefined symbol: lujets_
Load Error: Failed to load Dynamic link library /opt/fairroot/fairsoft/buildPanda/lib/libPGen.so
(int)(-1)
*** Interpreter error recovered ***
and running the fsim macro "simfast.C" produces even more bu... like:
============== CbmRunSim: Initialising simulation run ==============
Info in <TGeoManager::TGeoManager>: Geometry CBMGeom, CBM geometry created
Loading Geant3 libraries ...
Loading Geant3 libraries ... finished
Error: Symbol TGeant3TGeo is not defined in current scope /opt/fairroot/fairsoft/pandaroot/gconfig/Geane.C:7:
Error: type TGeant3TGeo not defined FILE:/opt/fairroot/fairsoft/pandaroot/gconfig/Geane.C LINE:7
Warning: Automatic variable gMC3 is allocated /opt/fairroot/fairsoft/pandaroot/gconfig/Geane.C:7:
Error: Undeclared variable gMC3 /opt/fairroot/fairsoft/pandaroot/gconfig/Geane.C:7:
*** Interpreter error recovered ***
*** Break *** segmentation violation
Generating stack trace...
0xb438d541 in CbmMCApplication::InitMC(char const*) at /opt/fairroot/fairsoft/pandaroot/base/CbmMCApplication.cxx:169 from /opt/fairroot/fairsoft/buildPanda/lib/libBase.so
0xb43a0ba6 in CbmRunSim::Init() at /opt/fairroot/fairsoft/pandaroot/base/CbmRunSim.cxx:164 from /opt/fairroot/fairsoft/buildPanda/lib/libBase.so
===================
and much more ........
Anybody else has encountered the same? or any idea how to solve this?
btw. I'm using the latest pandaroot (checked out this morning).
Kind wishes.
|
|
|
|
|
Re: Error loading libPGen.so [message #6705 is a reply to message #6605] |
Thu, 08 May 2008 17:57 |
Felix Boehmer
Messages: 149 Registered: May 2007 Location: Munich
|
first-grade participant |
From: *natpool.mwn.de
|
|
Hi,
I just got the same error (clean installation, svn version 2737):
dlopen error: /afs/e18/panda/SIM/fboehmer/cbuild/lib/libPGen.so: undefined symbol: lujets_
Load Error: Failed to load Dynamic link library /afs/e18/panda/SIM/fboehmer/cbuild/lib/libPGen.so
How can I solve this?
EDIT:
I stumbled upon the other thread about this topic after I posted this.
I tried to load libDpmEvtGen before libPGen like Mohammad proposed but the error persists. I also tried a make in the DpmEvtGen directory with no success but I noticed this warning :
Compiling file main.cc ...
main.cc:26: warning: non-local variable ‘<anonymous struct> lujets_’ uses anonymous type
So... does anybody know how to fix this? Any (temporary) solution would be very welcome!
Thanks!
Felix
[Updated on: Thu, 08 May 2008 18:09] Report message to a moderator
|
|
|
|
|
Re: Error loading libPGen.so [message #6713 is a reply to message #6707] |
Fri, 09 May 2008 20:12 |
Anonymous Poster
|
|
From: *ikp.kfa-juelich.de
|
|
Hi Stefano!
I have tried gconfig/rootlogon.C, but it cause the same error:
dlopen error: /home/sokolov/fairroot/cbmsoft/cbuild/lib/libPGen.so: undefined symbol: lujets_
In my case solution was just adding the line:
gSystem->Load("libDpmEvtGen");
into the script.
Best regards,
Andrey
|
|
|