GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Error loading libPGen.so
Error loading libPGen.so [message #6582] Wed, 23 April 2008 11:43 Go to next message
M.Babai is currently offline  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 #6603 is a reply to message #6582] Fri, 25 April 2008 17:05 Go to previous messageGo to next message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
The problem is solved now.
This was caused by the original geant3 from the cernlibs installed in the system libraries (name and loading priority collision).
Re: Error loading libPGen.so [message #6605 is a reply to message #6603] Fri, 25 April 2008 17:34 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
Hi i have updated today
and the problem with the libPGen.so
is still persistent.

I'm working with gsi installation.
Should one change the path to get
the new the cernlibs(concerning M.Babai remark) or not?
Is anyone taking care of this problem?

cheers ALicia.
Re: Error loading libPGen.so [message #6705 is a reply to message #6605] Thu, 08 May 2008 17:57 Go to previous messageGo to next message
Felix Boehmer is currently offline  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 #6706 is a reply to message #6705] Thu, 08 May 2008 18:19 Go to previous messageGo to next message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *natpool.mwn.de
It's working now.

Apparently Mohammad's fix is working...

Re: Error loading libPGen.so [message #6707 is a reply to message #6705] Thu, 08 May 2008 18:20 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Have you tried to load the "standard" gconfig/rootlogon.C ?

In theory with it everything should run fine.
Re: Error loading libPGen.so [message #6713 is a reply to message #6707] Fri, 09 May 2008 20:12 Go to previous message
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
Previous Topic: include bug in tpc dedx
Next Topic: problem in running reco
Goto Forum:
  


Current Time: Fri Nov 01 01:19:33 CET 2024

Total time taken to generate the page: 0.01108 seconds